Live data from Hacker News

Ask HN: Haskell or Erlang?

jjinux.blogspot.com

11–14 of 14 posts

Re: Ask HN: Haskell or Erlang?

#12
post #10
post #3

Earlier quoted context omitted.

Agreed. It's more modern, more expressive, runs faster (and supports parallelism better, amusingly), and can talk to Erlang apps anyway. http://www.haskell.org/haskellwiki/Applications_and_librarie...

I don't know about "modern" and "expressive", but it's definitely faster, and I really like the fact that the compiler catches 95% of the silly errors I'd make in a dynamically typed language.

I don't find Haskell to be less expressive than languages like Perl. I will admit that I haven't written enough Erlang to really get a feel for expressiveness.

Re: Ask HN: Haskell or Erlang?

#13
post #8
post #7

Haskell is more elegant, but erlang feels a bit more practical. In particular because of erlang's dynamic type system and symbols. If you are writing distributed software, erlang wins easily.

Haskell has (optional) dynamic typing now: http://www.haskell.org/ghc/docs/latest/html/libraries/base/D... I have played with it a bit, and haven't had the occasion to use it for anything important. Static typing is good enough for me. (And this is coming from someone who mostly programs Perl.)

Thanks, I wasn't aware of that. I think baked-in dynamic typing is preferable, but I suppose there are cases where this could work just as well.

Re: Ask HN: Haskell or Erlang?

#14
post #5

Obviously both. But if you're looking to make an exclusive commitment for professional reasons, then I suspect Erlang is more industry and Haskell more academia.

I wonder if you had the same opinion about Erlang a year ago... Erlang is trendy Haskell is not.

"Erlang is trendy Haskell is not."

What!? You must not visit reddit.

Post reply on HN