Discussion about this post

User's avatar
Zac Beckman's avatar

Haskell isn't the only functional language... (I agree, Haskell has a limited ecosystem). What about Scala? Runs on the JVM, totally interoperable with any Java library, and a rich ecosystem. I spent about oh... close to a decade loving Scala and pushing back against anything else.

Not that I'd point to Scala as a model citizen of functional programming. Letting programmers freely mix Java and Scala, functional and non-functional... I've seen some really scary messes come of that...! Still it was my favorite for most of a decade.

Or, Elixir. Elegant, powerful, one of the oldest and most robust runtimes out there (built on Erlang, which dates back to the 80's). Rock solid, efficient, and pure... and a very rich ecosystem.

I've been doing functional programming for so long anything else is just painful. I can't think procedurally anymore, at least not without grumbling about it full time. :) But map, filter, reduce... if that's the extent of functional programming you've experienced, I think you're missing the bigger picture. The idea of programming without side effects. Using recursion for everything. True language-level pattern matching... it's elegant. Just like a pure equation.

If you haven't played with Elixir give it a shot. It might change your opinion.

Expand full comment
1 more comment...

No posts