RE: A couple of ideas about properties

2001-05-20 Thread Brent Dax
Simon Cozens: >On Sun, May 20, 2001 at 01:09:28AM -0700, Brent Dax wrote: >> This also reads like English: >> Is foo constant? > Until you realise that in order to actually use it sensibly, you'll have to say something like > if (is $foo constant) > instead of (as I would prefer) > i

Re: A couple of ideas about properties

2001-05-20 Thread Simon Cozens
On Sun, May 20, 2001 at 01:09:28AM -0700, Brent Dax wrote: > This also reads like English: > Is foo constant? Until you realise that in order to actually use it sensibly, you'll have to say something like if (is $foo constant) instead of (as I would prefer) if ($foo is constant) --

A couple of ideas about properties

2001-05-20 Thread Brent Dax
Note the time I sent this out. My mind may not be thinking quite straight at this point, so bear with me. First of all, the dot dispute. If we want a way to absolutely make sure we're checking a scalar's properties, why not reuse our keywords? $foo is constant; #sets $foo