From: James Edward Gray II Date: 2005-11-05T05:12:18+09:00 Subject: Re: Some comments on new 1.9 features On Nov 4, 2005, at 1:19 PM, Nikolai Weibull wrote: > James Edward Gray II wrote: > > >> On Nov 4, 2005, at 10:53 AM, Nikolai Weibull wrote: >> > > >>> class Foo >>> def foo; "foo" ;; >>> end >>> > > >> To save one character? >> >> class Foo >> def foo; "foo" end >> end >> > > Hey! I didn�t say that it was great. I just showed what I thought > was > the rationale behind having ;; in Ruby. Don't blame me for its > existance. I didn't mean to blame anyone. I was just trying to understand. :) > Anyway, it�s not about saving one character. It�s about > having the ; have a better counterpart than end in this particular > instance. For a fitting counterpart, I like class Foo def foo() "foo" end end James Edward Gray II