News for hackers. Stuff that matters.
Re:Why I Program in Erlang by rajeshp1986 on Tuesday November 01, 2022 @08:17PM (#33429792)
> I almost always leave with the impression that the designers did the “right thing”. I suppose this is in contrast to Java, which does the pedantic thing, Perl, which does the kludgy thing, Ruby, which has two independent implementations of the wrong thing, and C, which doesn't do anything.

This might be the best line ever I read on an HN article in recent years.

Re:Why I Program in Erlang by transfire on Tuesday November 01, 2022 @10:48PM (#33430887)
I think it’s a little harsh on Ruby. But, yeah, I agree.
Re:Why I Program in Erlang by calo_star on Wednesday November 02, 2022 @02:44AM (#33432066)
I don't know anything about Ruby, but I'm curious, why so?
Re:Why I Program in Erlang by weatherlight on Wednesday November 02, 2022 @12:32PM (#33438550)
I feel like the quality of ruby libraries has drastically improved over the last 10 years (article was written in 2012). Lots of older libraries, Open source devs would just develop their own DSLs that solve their problem. With the advent of rails, and rubocop, and well known conventions, good modern libraries have bubbled to the top to solve specific problems and the use of those libraries now are the "convention" for solving that set of problems.
Re:Why I Program in Erlang by insane_dreamer on Wednesday November 02, 2022 @02:13AM (#33431928)
ruby, ouch
Re:Why I Program in Erlang by haspok on Wednesday November 02, 2022 @05:51AM (#33433383)
The fact that C doesn't do anything is actually the right thing for what it was designed for :) It is just an assembler with macros.