3 ms·
My favorite part of RWH is how it explains monads. Instead of introducing it as "here's a complex thing with some use cases that you won't understand", it just
by jrockway 16y ago
My favorite part of RWH is how it explains monads. Instead of introducing it as "here's a complex thing with some use cases that you won't understand", it just starts using monad-like structures, but doesn't call them monads. Then you get to the monad chapter, and it says, "oh hey, you know all that code you wrote in the other seven chapters? yeah. monads."
Net result? I doubt that anyone who read RWH from the beginning and followed the examples has any trouble with monads. It's things like that that make RWH not just a good Haskell book, but a good programming book.
- giu 16y agoYep, definitely. Generally speaking, the book has a very good structure; everything has its place, and the book makes a very good job in guiding you from the very basics to the more complicated constructs. Moreover, all the constructs are explained very well thanks to the fact that they use quite a lot of code examples to back up explanations in the book, which help you understand everything much better. What I personally (as a novice) have to mention is, that RWH surely is a very good book, but nonetheless you'll start reading some paragraphs or chapters over and over again, especially if you come from the imperative programming branch. Haskell is definitely not easy for a beginner, so prepare yourself to put quite a lot of effort in learning the language and functional programming in general, it's definitely worth it! :)
- jfager 16y agoI really disliked that part, not because it wasn't informative, but because it contradicted the whole point of picking up a book with "Real World" in the title. You don't write pretend monads for pedagogical purposes in the real world, but you do parse binary formats. Why is the chapter that tells you you're learning the latter actually teaching you the former? Which isn't to say I hated the book itself. On the whole it's a great introduction, if you ignore the title and take what's actually there.