From: David Suarez de Lis Date: 2000-01-12T10:06:32-05:00 Subject: [ruby-talk:01132] Re: The value of while... Hi!, Matz-san said: > In message "[ruby-talk:01124] Re: The value of while..." > on 00/01/12, Dave Thomas writes: > > |Thinking again about class definitions returning a value, I wonder how > |many people would find the concept of Class and meta-classes more > |obvious if the syntax were > | > | Dave = Class.new { > | } > > Same policy applies here. > > | class Dave > | end > > is more beautiful (from my view :-), and traditional than > > | Dave = Class.new { > | } Well, I find this one pretty elegant, though ;) And original :) The 'end' one reminds me to Visualargh Basic too much (I know, I know, Eiffel also uses 'end', but then Meyer is a classicist ;) not that I am suggesting a change (but we save 1 byte per class definition :) (and it's consistent with Procs... I love them :) well, abayo, d@ ------------------------------------------------------------- Mensaje enviado gracias al correo gratuito de Demasiado Corp. [http://correo.demasiado.com] -------------------------------------------------------------