Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: