back

by jeffreyrogers·12y ago·view on hn ↗
It looks like I'm one of the few people on here not excited about Haskell. Functional programming is great. Static typing is nice, yes. Hindley-Milner type-inference even moreso, but I often find the language getting in my way. Now, I'm not a Haskell expert, but I have used OCaml for some fairly sophisticated problems in the past (basic optimizing compilers). So I'm curious for the people who have used Haskell for something substantial whether they've found their experiences match with mine.
2 comments
This probably doesn't meet your (or my) qualification for substantial, but might be useful anecdata.

I recently used (early July 2014) Haskell for a crud app with a daemon that does some web scraping/form posting where no API existed for a freelance client.

Haskell did not get in my way whatsoever. Here are some general stats about the application:

604 loc (was 1400 at one point, 900 after de-duplication, 604 after refactoring) 112 commits

The crud website and daemon program take up about 200 MB of memory IIRC on a $5 per month digital ocean droplet.

Haskell is a research language. It is the most viable research language for production applications. A few people will solve a major business or life problem with Haskell. Many more people will take the ideas back to improve the quality of their Java or C# code.
That's a good point, and I've definitely used more functional language techniques in my regular programming since learning Haskell/OCaml.