7
7stud --
Haskell, Scala, or Erlang? Which one is the best?
I don't know, but I did enjoy Try Haskell (http://tryhaskell.org/) It'sHaskell, Scala, or Erlang? Which one is the best?
Haskell, Scala, or Erlang? =A0Which one is the best?
Haskell, Scala, or Erlang? Which one is the best?
Haskell, Scala, or Erlang? Which one is the best?
Haskell, Scala, or Erlang? Which one is the best?
Haskell doesn't have the feature called inheritance in Object Oriented
Languages*.
Living without objects is okay, but it means you can't create a new
data-type that inherits members from another data-type.
It has other mechanisms for code-reuse, but sometimes things which
would be really simple with, for example, a template method, into a
bit of an exercise in formal logic. Still, that's okay because that's
pretty much how you program the whole of the system in Haskell.
Erlang doesn't have inheritance either but it doesn't become an exercise
in logic the same way because it doesn't have static-typing.
IIRC their structures are just transformed into a vector or something at
compile time, there's no real notion of a member of a data-structure.
I really like erlang though, the syntax is cool. Commas.
You're probably thinking of "records", which are basically just named
offsets into a tuple.
There are proper data structures too, such as "dict" which is
somewhat like a ruby Hash.
It can be a bit overwhelming at first having all the different
built-in types: tuple, list, binary (when you'd just use Array in
ruby)
It takes some grokking as to when you need a comma, when you need a
semicolon, and when you need a dot. Erlang has great semantics and
terrible syntax.
Okay, I concede the point. I am utterly wrong.
No, not at all. I made my point badly: *I* find Erlang's syntax to be
terrible, but syntax is clearly a very personal choice.
i think you are totally wrong about #{language_you_use} because
#{feature_i_think_sucks} makes the language unintelligible.
personally i find #{language_i_use} to be the uber be-all-end-all of
languages.
though i do agree that #{current_thread} is kind of wonky
hex
#{hex.laughs_maniacally}
And as I said my personal opinion is that haskell = hard.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.