Ruby Syntax Quirks
Discussions center on Ruby's flexible, surprising, and sometimes confusing syntax, idioms, features, and behaviors, including debates on whether they are elegant or problematic.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Just comes to show how careless Ruby guys were while building this.
Ruby has this. Can be surprising to read code ... "Wait.. What? Oh ok."
yeah, ruby allows some odd stuff for sure.
does ruby do anything like this? i'm new to ruby and could imagine something like this biting me ...
It's fine, Ruby takes the more sensible semantics here (IMO)
Ruby always confuses me with this flexible syntax...
To make ruby programmers feel uneasy. ;-)
Can you give an example of something in Ruby that makes your head hurt because you don't know what's going on under the hood?
Looks like Ruby doesn't have ugly hacks.
Is there a such thing as "the ruby way"?