4 ms·
I think a lot of the problems with Ruby are really problems with the nature of Rails jobs over the past 5 years. Lots of juniors (which is great) in a field whe
by mmanfrin 9y ago
I think a lot of the problems with Ruby are really problems with the nature of Rails jobs over the past 5 years. Lots of juniors (which is great) in a field where people change jobs every year or two (which is okay, but horrible from a codebase standpoint). Giant monorails applications grow strata of different generations of code/teams/opinions; and each new generation of engineer on the project adds their own stamp on top. It leads to situations where you have enormous applications that are so deeply entagled within themselves that it becomes nearly impossible to refactor out poor performing bits of the app.
It reminds me of the Kowloon Walled City[1] -- originally a (likely cleanly built) fort that took on more and more people until it became a morass of people and buildings with no consistency or strong structural concerns.
Then Rails (and Ruby) get this reputation for being a Kowloon rather than the Fort.
Not that ruby is not slow compared to other languages, but it's not as slow as perceived.
[1](https://en.wikipedia.org/wiki/Kowloon_Walled_City https://en.wikipedia.org/wiki/Kowloon_Walled_City)
- barrkel 9y agoI've found Ruby to be faster than Python these days; it's node.js that beats it, for obvious reasons. I don't think JS has fewer problems around mutability and and monkey patching though.
- paulddraper 9y agoAre you talking about CPython or PyPy? MRI, Rubinius, JRuby? Perf characteristics differ wildly between those.
- ksec 9y agoOn Walled City It wasn't really cleanly built. And there are lots of stories in there. And the Japanese seems to love it. I always wonder if someday we could rebuilt the whole thing as Hotel, resort and tourist attraction.