News for hackers. Stuff that matters.
Re:I don’t like the Ruby 1.9 hash syntax by jhrobert on Wednesday December 14, 2011 @07:44PM (#3354487)
name: value instead of :name => value makes as much sense as p->q instead of (*p).x in C

As an historical note, here are the message (and matz’s response) where I made a proposal for the new syntax, back in 2002. It includes rationals.

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/...

Matz’s response : http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/...

There are no comments on this comment yet.