3 ms·
You can't bash Ruby because you wrote shitty code in Ruby. If by "bashing" you mean claiming that Ruby was less suitable than Scala, why not? When a language
by dkarl 18y ago
You can't bash Ruby because you wrote shitty code in Ruby.
If by "bashing" you mean claiming that Ruby was less suitable than Scala, why not? When a language isn't suitable for a particular application, that manifests as shitty code. Needing a bunch of hand-coded runtime type checks to prevent new bugs from creeping into the code suggests that a statically typed language would be more appropriate.
Of course, an infinitely intelligent programmer could have written Twitter in assembly, Brainfuck, or even C. There exists a positive integer N such that Ruby would have worked if all the Twitter developers had IQ >= N. (Please, nobody think too hard about that statement. I'm just making a point.)
So maybe they were just too stupid to use Ruby. But in that case, they were right to switch to another language, and they were right to report that Scala helped them succeed where they failed with Ruby.