I have to say I’m liking a lot about Rails. Ruby, not so much. Probably the most annoying thing about Ruby is the syntax. It is MUCH too complicated and after working with it for awhile, I still don’t quite understand all the rules. Things that puzzle me:
dot notation vs non-dot notation. When to use which?
collection.select {| x | x > 5 }
vs
collection select {|x | x > 5}
they both seem to work. Also, use of parens around argument lists – also seems to be optional. Two different block definition syntaxes is also annoying.
Less syntax would be most welcome.