Talk:Fusc sequence: Difference between revisions

Content added Content deleted
Line 27: Line 27:
:::Hi Hout, your code isn't Pythonic, therefore making it much harder to understand. It is much longer, making it more error-prone and less maintainable. Worst of all, it is trying to write Haskel in Python, when the community at large rejected those extremes.
:::Hi Hout, your code isn't Pythonic, therefore making it much harder to understand. It is much longer, making it more error-prone and less maintainable. Worst of all, it is trying to write Haskel in Python, when the community at large rejected those extremes.
:::I'm with user Ledrug on this (as you know). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:44, 17 March 2020 (UTC)
:::I'm with user Ledrug on this (as you know). --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 11:44, 17 March 2020 (UTC)

:::: We've heard all these arguments – no need to crank them out again – more helpful and Rosetta-ish to just write good procedural versions for any tasks which currently only have functional drafts.
:::: '''Pythonic''' - '''pylint''' and '''Autopep8''' are more rigorous and less subjective judges of that. It's clear that they haven't been applied to quite a lot of the procedural drafts on these pages.
:::: ''Readability'' varies with programming cultures. The procedural versions are there for those accustomed to threading through state changes, and the functional versions serve those familiar with immutability and functional composition, folds and maps.
:::: ''Haskell'' you will need, at some point, to learn how to spell :-) As for the language – it's essentially just math, which underlies all computations. Working with, rather than against. the math makes functional compositions much more likely to resemble each other across different idioms than the rather unconstrained complexities of the procedural state machines with which you do feel more at home, but which contribute, alas, to Python's unusually high bug rate (Davis 2014). [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 12:45, 17 March 2020 (UTC)