I love Ruby, for past couple of years it is my language of choice.
But even since I started learning it, I was repelled with the fact that so often there are several ways to do the same (or equivalent) thing. I'll give couple of examples:
- methods often have aliases, so you always have to bother to choose the most adequate, popular or commonly accepted alternative
and
andor
, besides&&
and||
- just look at how much confusion precedence difference among them causesfor
keyword, used almost exclusively by inexperienced non-native Ruby developers
What was the rationale behind such design decisions? Did they (Matz?) believe that the language will be easier to adopt, and therefore more popular that way?