Ed Mills wrote: > > I disagree with "const" as it's verbose; I'd rather see something like > $pi=|3.14128 or something similar. 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. 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. -Nate
- Re: RFC 83 (v1) Make constants look like vari... Damian Conway
- Re: RFC 83 (v1) Make constants look like ... Steve Simmons
- Re: RFC 83 (v1) Make constants look l... Larry Wall
- Re: RFC 83 (v1) Make constants look like variables Glenn Linderman
- Re: RFC 83 (v1) Make constants look like variables James Mastros
- Re: RFC 83 (v1) Make constants look like variables Bryan C . Warnock
- Re: RFC 83 (v1) Make constants look like variables Ed Mills
- Re: RFC 83 (v1) Make constants look like variable... Nick Ing-Simmons
- Re: RFC 83 (v1) Make constants look like vari... John Porter
- Re: RFC 83 (v1) Make constants look like ... Nick Ing-Simmons
- Re: RFC 83 (v1) Make constants look like variable... Nathan Wiger
- Re: RFC 83 (v1) Make constants look like vari... Jonathan Scott Duff
- Re: RFC 83 (v1) Make constants look like ... Jeremy Howard