3 ms·
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) wher
by jhrobert 15y ago
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/38391 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/38402 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/...