Talk:Evaluate binomial coefficients: Difference between revisions

Line 40:
 
: I have improved the functional code by replacing the type information as comments, by the language supported [https://docs.python.org/3/library/typing.html type hints]. Typing <code>help(binomialCoefficient)</code> for example, will return typing information in the way to be expected by Python programmers. Your original type comments above function definitions would need equal effort it seems, to add to a function docstring and would at least help in documnting code in the standard way, but even that was not done - it looked like a poor translation from another programming language. (As you know). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 23:47, 21 February 2019 (UTC)
:: I'm sorry Donald, but you must stop vandalizing material of which you have a poor understanding.
The idiom of functional programming is the semantics of math – not arbitrary stylesheet convention. A curried enumFromTo function which returns a list from the limits of an enumeration is not the same as uncurried Python range function whose arguments do not match the limits. Removing the semantic type comments (use of which is a very well established convention in functional programming - across differnt languages) simply lowers the quality of the code for a functional programmer. Your actions are not constructive, and this is clearly not an area of competence for you. Stick to what you know, and avoid gratuitous damage to the code of others. Write the code you personally prefer, and learn to desist from deleting and vandalizing the code of others. We disagree, and are optimising for different things. The Rosetta community will benefit if we write alternative versions, it will '''not''' benefit if we go around childishly deleting and defacing things that we disagree with. Enough - this has gone on for far too long, and does no service to your dignity. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 00:02, 22 February 2019 (UTC)
9,659

edits