On Fri, Sep 27, 2002 at 07:29:38AM +0900, dblack / candle.superlink.net wrote: > Hi -- > > On Fri, 27 Sep 2002, Mauricio [unknown-8bit] Fern?ndez wrote: > > > On Fri, Sep 27, 2002 at 06:17:23AM +0900, William Djaja Tjokroaminata wrote: > > > 2) Now, all those class names (at least the built-in classes) will also be > > > keywords in declaring variables: > > > > > > Fixnum a > > > > I'd prefer something really horrible so newcomers don't start coding as > > if it were Java... > > How about: > > candle:~$ ruby -e 'Fixnum a' > -e:1: undefined local variable or method `a' for #<Object:0x401c8ce0> (NameError) > candle:~$ ruby -e 'Fixnum a = 10' > -e:1: undefined method `Fixnum' for #<Object:0x401c8ce0> (NameError) > > which preserves the chance they they *will* code as if it were > Ruby :-) That would be far more effective :) -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com <stu> Stupid nick highlighting <stu> Whenever someone starts with "stupid" it highlights the nick. Hmm. -- #Debian