r/Python • u/RichKatz • Sep 29 '16
O'Reilly offers "Functional Programming in Python" by David Mertz as free eBook.
http://www.oreilly.com/programming/free/functional-programming-python.csp?cmp=em-prog-free-na-lgen_safari_20160929
847
Upvotes
4
u/wting Sep 30 '16
I think this is a really valuable insight. The reality is when designing a language you can encourage pardigms by making it easier / more difficult. At the end of the day, GvR doesn't like FP and he will not make it easier to do in Python.
In fact, lambdas and functools only made it into Python because of an early contributor during Python 1.x or 2.2 days and people used it. Now GvR's stuck with it for backwards compatibility purposes.
I code FP-style Python when it's appropriate, but I wish people wouldn't kid themselves and pretend Python's a first-class functional language (or will ever be).