3 ms·
I really like this book, but I think it may be teaching some bad habits by ignoring performance concerns.
by leereeves 12y ago
I really like this book, but I think it may be teaching some bad habits by ignoring performance concerns.
- AnimalMuppet 12y agoIt's not a problem until it's a problem. That is: At least 90% of code is not CPU-limited. It's fast enough. So, as an initial approach, ignoring performance is fine. The problem is that, if and when you run into real performance issues, you need to know some tools for dealing with them. If this book doesn't teach you those, well... it's a language introduction. It's not an advanced text. Maybe it would be the better for a warning or two, a paragraph here or there, but performance is (quite properly) not the point for the book.
- leereeves 12y agoFair enough. I guess I mean to say that I really like this book, and would enjoy more from the author teaching fast Haskell, to supplement this book about simple Haskell.
- titanomachy 12y agoI was pleasantly surprised recently when I noticed that this book has a discussion of efficient list construction [1]. I know it's a fairly basic idea, but the author brings it up purely for performance reasons. Given the introductory nature of this book I didn't expect that. [1]: http://learnyouahaskell.com/for-a-few-monads-more http://learnyouahaskell.com/for-a-few-monads-more