From: Hugh Sasse Staff Elec Eng Date: 2002-07-31T01:14:36+09:00 Subject: Re: Ruby Language Q's On Wed, 31 Jul 2002, Dave Thomas wrote: > we could write interfaces like > > drawWidget fred x: 10 y: 20 color: red > > The Ruby Tk constructors could replace the current instance_eval trick > with this syntax and lose the confusing scoping rules. > This looks nice. Only thing is the havoc one could write with the ? operator, and Symbols:- wossname a: 3 b: r ? x : y c: :d but then anything can be obfuscated... Is this frightening enough to require some other form? The chances of anyone writing real code like that compare to a Snowball in hell, so I'm just playing Devil's Advocaat here....:-) > Just an idea... > > > Dave > Hugh