r/Python • • 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

69 comments sorted by

View all comments

15

u/lead999x learning Rust, Haskell, and C++ Sep 30 '16 edited Sep 30 '16

I feel like Python is definitely not the language to be learning functional programming in. I've recently started learning Haskell and it really does open your mind up a certain way. And if anything learning Haskell will make you reason better when you write Python or C++ after learning it. Haskell is just a sexy language altogether. And I don't say things like that often.

1

u/[deleted] Oct 01 '16

[removed] — view removed comment

1

u/lead999x learning Rust, Haskell, and C++ Oct 01 '16

Yeah it really is. And it's syntax looks like straight math which for some people makes a lot of sense.

1

u/[deleted] Oct 01 '16

[removed] — view removed comment

2

u/lead999x learning Rust, Haskell, and C++ Oct 01 '16

It's interesting but for me a big turn off is that it's on the Java platform. Also it looks like there's a lot of boilerplate code which might not be there in Haskell. I think the only JVM languages that I've seen and liked so far are Kotlin and Clojure.

1

u/[deleted] Oct 01 '16 edited Oct 01 '16

[removed] — view removed comment

1

u/lead999x learning Rust, Haskell, and C++ Oct 02 '16

Admittedly I haven't seen much of Kotlin, I just like what I did see. I like Haskell because it's new and it does the same old tasks in a more intuitive manner. And because it's a functional language that isn't a Lisp.