Ask HN: What do you dislike about statically typed functional programming? I'm thinking of languages like Elm, Haskell, PureScript, and Standard ML. |
Ask HN: What do you dislike about statically typed functional programming? I'm thinking of languages like Elm, Haskell, PureScript, and Standard ML. |
Ocaml - figuring out the things surrounding the language (dependency management, concurrency, formatting, linting, etc)
One language that looks interesting is Clean[0]. It uses uniqueness types for mutations or other impure operations which kind of reminds me of software-transactional-memory or borrow checking.
But the real show-stopper for me is the five different string types Haskell has. I want to focus on algorithms and program design - not string conversions.
I’m thinking it could be the static typing but as I’ve done more and more work in static typed languages I like them a lot more than dynamically typed ones.
I'd recommend that people start with something "easy" like Elm, and then transition to Haskell via frameworks like Miso or Reflex. That's exactly what I did.
This project of mine used to be in Elm & Go, but now uses Haskell throughout: https://github.com/srid/slownews