4 ms·
There's definitely some subjectivity and it comes down to what you want from a language and framework. I think Haskell is the best way to learn functional prog
by amock 16y ago
There's definitely some subjectivity and it comes down to what you want from a language and framework. I think Haskell is the best way to learn functional programming because it's pure, has a powerful type system and helpful community, and it's easy to use it to replace shell scripts. One of the things that really bothers me about JVM based languages is the startup time that makes it painful to use them as shell scripts, but if you're just writing a web application this might not be an issue.
If you decide to go with Haskell then you need to decide what kind of framework you want. I started with Snap and it I enjoyed using it but it doesn't have the high level functionality that Rails or Django do. I'm now using Yesod and it's great. It seems very Haskelly to me and the high level functionality means I don't have to write my own authentication system and persistence layer.
- evangineer 16y agoIf you're having problems with JVM startup time, there are things like Nailgun that can solve that for you: http://www.martiansoftware.com/nailgun/ http://www.martiansoftware.com/nailgun/
- evangineer 16y agoI see what you mean about Yesod, it seems to play to the strengths of Haskell quite well from my quick glance.
- whacker 16y agohttp://github.com/icylisper/jark http://github.com/icylisper/jark
- whacker 16y agoProject Website: http://icylisper.in/jark/ http://icylisper.in/jark/
- amock 16y agoThat looks interesting, but at least for the near future solutions like that aren't good for things you want other people to run without having to do a lot of work. That said, I'll definitely look into using that as I learn Clojure.