by yfyf · 14y ago · 0 comments
Sorry, but this is such a BS claim. Yes, there are bits of Erlang syntax which are ugly. Yes, you can write absolutely unreadable Erlang code, just like in any other language. But the whole point is that Erlang is extremely expressive for the problems in question - distribution and fault tolerance. It allows you to write code which is multitudes shorter than in (almost) any other language. Your code ends up being very succinct which is a huge benefit because of clarity/maintenance/etc.
For some extremely elegant code go look around at basho[1] and 99s[2] code. In particular, riak_core and cowboy. These are works of art!
[1]: https://github.com/basho [2]: https://github.com/extend
It's not clear if you're making that claim only for 'distribution and fault tolerance'. In that case, I don't know enough to say. For pretty much anything else, I'm sure that Erlang is much more verbose than Ruby.
In my experience it also tend towards what you are trying to do.
Here are actual numbers:
http://shootout.alioth.debian.org/u32/benchmark.php?test=all...
Downvoting, by the way, won't change the numbers or the relative verbosity of Erlang, even if it makes you feel better.
But thanks for projecting your insecurities on me.
We're hiring [1]!