From: Robert Klemme Date: 2009-05-14T16:15:49+09:00 Subject: Re: [bikeshed] Syntactic sugar idea 2009/5/14 Daniel DeLorme : > Gregory Brown wrote: >> >> On Thu, May 14, 2009 at 12:16 AM, Daniel DeLorme wrote: >>> >>> Well, you never know... Matz *did* add the Symbol#to_proc conversion in >>> 1.9 and also the foo\n.bar "fluent interface" syntax. So apparently >>> trivial changes *do* make their way into core... sometimes. >> >> But Symbol#to_proc is not a parser change. It's just using an existing >> hook that has been around in Ruby 1.8 > > But the fluent interface change *is* a parser change. My point was just that > seemingly trivial requests *can* make it into the core, whether they're a > syntax change or not. We always need to balance cost and benefit. In this case to me the benefit seems to be outweighed by costs whereas the other change can have an impact on readability. YMMV though. Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/