From: Austin Ziegler Date: 2005-11-05T07:58:29+09:00 Subject: Re: Some comments on new 1.9 features On 11/4/05, Domenico De Felice wrote: > Nikolai Weibull wrote: > [CUT] > > The funny thing about this example is that the whole point of having > > ";;" be "end" is that you could write > > > > class Foo > > def foo; "foo" ;; > > end > > > Why don't use just : for single statement methods? > > class Foo > def foo: "foo" > end > > or in this case > > class Foo: > def foo: "foo" > > It sounds more expressive than do .. ;; ... It sounds too much like Python. Python's syntax is one of the reasons I don't use Python. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca