Hacker News new | past | comments | ask | show | jobs | submit login

I have just started learning Erlang - picked it over Haskell, it seemed to "click" better with my brain. What made you make the switch? Am I wasting my time?



Not wasting but you'll think you're a functional programmer, hit Haskell, then realize you were barely a functional programmer.

I used to feel as you did, until I started thinking more mathematically; the idea behind composition and clarity. Erlang has amazing properties but Haskell can, honestly, do much of it better and faster and safer.

Erlang has Dialyzer and type annotations and quickcheck. Use it all religiously because your Erlang programs will get big and messy fast.

What made me switch? STM > message passing actors, Haskell's type system is incredible, and the libraries / tools available are also pretty amazing. Programming in a way that encourages me to think mathematically is just so much more natural, personally.

Composition + a strong type system is an incredible experience. If you want more personal war stories we can do it over email?

I've built very large and performant Erlang software in production and very large and performant Haskell software in production for two of my own startups.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: