On Mon, Aug 14, 2000 at 06:28:23PM -0700, Nathan Wiger wrote:
> Well, just to counter argue, I feel exactly the opposite way. I'd like
> the keyword to be "constant" instead of "const". I've always thought
> "const" was a needless save of 3 characters. Constants should be obvious
> to pick out. The inventors of UNIX, when asked "What was your biggest
> mistake?" replied "Spelling creat() without the 'e'". Ditto here, IMO.

Amen.

> Which is the easiest for anyone to tell what's going on?
> 
>    my num $PI : constant = 3.1415926;
>    my num $PI : const = 3.1415926;
>    my num $PI =| 3.1415926;
> 
> Admittedly, "const" is pretty darn close to "constant", so tolerable.
> But =| is way too obscure, I think.

Not only obscure but backwards IMHO.  Rather than using some weird
assignment operator to modify the attributes of a scalar (after all,
constancy is a property of the scalar), better the attributes should
be verbose and explicit.

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to