3 ms·
You're dead wrong. If the code you write in Ruby tends to be shittier than the code you write in Scala, then you're a damn fool if you continue to write your c
by ewjordan 18y ago
You're dead wrong. If the code you write in Ruby tends to be shittier than the code you write in Scala, then you're a damn fool if you continue to write your code in Ruby.
"Reliable, high performance, correct and maintainable" has _tons_ to do with choice of language. Maybe not everything, but it's ridiculous to claim that there's no correlation between any of those factors and the language you use - there are various tradeoffs with different languages, and again, you'd be a fool to ignore them. There's a reason people don't code Web 2.0 stuff in Assembly, and there's a reason people don't code graphics drivers in Python.
That said, what is best for Twitter is probably not best for you. Your Ruby code probably _is_ better than your Scala code would be, and maybe it runs more than fast enough for your purposes. That's fine. Twitter has blown up practically from nothing into one of the stars of the Internet, so obviously they have different priorities. I doubt many people have ever had to deal with scaling issues like they have, so their experiences are pretty much irrelevant to the rest of us.