Re:Zed finishes Learn Python The Hard Way
by zedshaw on Wednesday September 29, 2010 @02:00PM
(#1740380)
"Higher-order functions, ... list transformations" you just said four words that are an entire book on their own.
Re:Zed finishes Learn Python The Hard Way
by danieldk on Wednesday September 29, 2010 @02:27PM
(#1740505)
Sure, that's why Graham Hutton can do it in one chapter. Most books discuss lists and functions anyway, and from there is not such a big step to give an introduction to lambdas/closures, maps, folds, and filters.
It's not as if we are discussing monads (which are also easy to understand, given a good teacher).
- Higher-order functions
- Many tasks are just list transformations
What makes things more painful is that Java is so omnipresent in CS education. Since Java only contains such concepts implicitly (and require a lot of verbosity), I haven't encountered many (if any) Java books that go into functional concepts.
It's like learning UNIX without covering pipes. Sure, you can work with UNIX, inadvertently emulate it using redirections from and to files. But it will never be as effective.