Jump to content

User talk:Hout: Difference between revisions

(→‎None Pythonic code: fixed formatting)
Line 296:
 
::: I disagree. '''Functional''' or '''Composition of pure functions''' is more than enough. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 01:57, 8 March 2019 (UTC)
''Italic text''
 
That way people may add both styles of functional Python examples to the site, and read examples without confusion as to what is idiomatic.
 
Line 302:
 
:::: That is exactly what you should finally realize. You are foolishly consistent in writing "functional Python" which is detrimental to the quality of your code. Had you applied functional style in Python where it is really suited, no one would complain. But the mere fact that you add comments in ''another programming language (!!)'' to your Python code shows your inability to discern what is and what is not suitable. If you want to write Haskell, stay away from Python and write Haskell. Your "creations" are a disgrace to both languages. [[User:Dick de Bill|Dick de Bill]] ([[User talk:Dick de Bill|talk]]) 12:13, 4 February 2020 (UTC)
 
::::: No need to revive this thread :-) All my code is pylinted (to a higher standard than most), and claims of Pythonicity are less subjective and more rigorous if referred to the tooling. The informal type commments in Hindley Milner idiom are not in fact, as you appear to imagine, 'in another language'. HM is the language-independent notation in which the type of pure functions is most commonly discussed, both inside and outside the ML tradition. (RamdaJS is an interesting JS project which uses it, for example).
In addition, all my functions include explanatory docstrings (as preferred by pylint).
 
::::: The value of Rosetta Code is comparative (as the landing page puts it: ''to aid a person with a grounding in one approach to a problem in learning another''), and the most valuable form of Rosetta commentary is simply an alternative draft. I have no objection at all to anyone else code. My only comment is the code I add. Enjoy adding some of your own ! [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 13:03, 4 February 2020 (UTC)
 
::: The former is no substitute for (or guide to) the latter [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 01:57, 8 March 2019 (UTC)
9,655

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.