4 ms·
The book is primarily good at introducing the basic concepts of functional programming. It’s also one of the best for that in my opinion. You wouldn’t use the
by hajile 3y ago
The book is primarily good at introducing the basic concepts of functional programming. It’s also one of the best for that in my opinion.
You wouldn’t use the quicksort from your textbook in production because it’s an example designed to teach specific principles. A complete tour of the literature on just that one story and all its variants and implications be a decent sized book all by itself.
Likewise, the examples inJS Allonge are vehicles to explore functional concepts.
I’d also note that there’s a PDF available for free.
http://raganwald.com/assets/javascriptallongesix.pdf http://raganwald.com/assets/javascriptallongesix.pdf
- explaininjs 3y agoI'd be more willing to give the book the benefit of the doubt if it wasn't so blatant in proposing that the solution he likes is the Really Good Solution that has no downsides besides being "hard to understand". As if that wasn't a major downside in and of itself. That said, being annoyingly cock-sure when you have the chops to back it up with an actual ideal solution is one thing, the same attitude when you present a questionably engineered algorithm and blatantly disregard its drawbacks (up to ~2x higher runtime / more "reads" needed to generate an answer) by implying only the less intelligent "non-artisans" would ever fail to appreciate it is entirely different.