Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ruby as a language feels a little strange.  Maybe it was designed for hipsters.  If I had a dog, it would bark at Ruby code.

I'd love to know why. The way this is written makes it feel less like opinion and more an opportunity to take a pop. Ruby seems susceptible to this sort of "hipster" callout in a way other languages aren't. Confusing a language with its comically unfairly defined userbase, perhaps?



Well, Ruby on Rails has as its mantra "Convention over configuration" which naturally lends itself to an experience filled with Rails-isms. I think the language has similar leanings, so you end up with a bunch of Ruby-isms as well. For example methods ending with ! mutate their receiver, and methods ending with ? return booleans. None of this is enforced at a language level but it is still part of standard Ruby practice. You end up with an ecosystem of opinionated software built on an opinionated platform, which makes many people -- myself included -- feel a little bit like an outsider when I read Ruby code that is littered with little idioms.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: