4 ms·
On the contrary, I’d recommend to start with Idris instead. The design of the language is globally better and way more coherent. It fixes a lot of Haskell “mist
by rq1 7y ago
On the contrary, I’d recommend to start with Idris instead.
The design of the language is globally better and way more coherent. It fixes a lot of Haskell “mistakes”.
Check out “Type-Driven Development with Idris” by Edwin Brady himself. The book is truly amazing.
- rictic 7y agoIdris is great, its design is super impressive, and it expanded my mind tremendously in terms of what is possible in programming. We can and should ask much more of our type systems! It is also way less mature than Haskell, and someone trying to learn it will run into many issues as a result. I mean, read the linked blog post! Needing to regularly restart one's editor, long compile times for even short programs, and difficulties with installation are all issues I also ran into. (Also, strong agree about the book. It's really well written, and all around excellent)
- dwohnitmok 7y agoI would second this. If you've never done pure functional programming before I would hesitate to recommend Idris as your first foray simply because of ergonomic issues with the tooling. Regardless of whether you think Idris the language is suitable for a beginner, it's not a fun experience to deal with the landscape of abandoned libraries, editor integration issues, compiler bugs, etc. if you are already struggling to understand some of the basic principles behind the language. The only exception is if you use it purely as a companion to the Type-Driven Development book. As long as you don't stray too far from the book you generally won't run into any of these other issues and it's more plausible to think of it as a first foray into pure functional programming.
- tluyben2 7y agoIdris 2 is supposed to be better in that regard. I could not see in the article if 1 or 2 was used but I think it was 1; 2 is a lot faster and fixed a lot of issues from 1.
- macintux 7y agoThanks for the recommendation, bought it today.