r/functionalprogramming • u/AlfonzoKaizerKok • Mar 05 '19
Python Is Python A Functional Programming Language?
https://arithmox.ai/pythonic-functional-programming-arithmox/
4
Upvotes
r/functionalprogramming • u/AlfonzoKaizerKok • Mar 05 '19
View all comments
Show parent comment
2
u/[deleted] Mar 05 '19
To be fair that’s true only if you make the mistake of trying to use it as a mock functional language. In practice recursion is only rarely the best choice, and basically never is if your not working in a language the implementation of which optimizes tail calls.
At the moment there’s a buzz around FP and for some reason people keep trying to apply those ideas retroactively to languages that weren’t written with that paradigm in mind. It remains to be seen if the buzz lasts, but personally I think trying to use Python in a strict functional manner is the height of silly, as is trying to evolve the language towards that end.