Steve Simmons writes: : On Sat, Aug 12, 2000 at 06:18:08AM +1000, Damian Conway wrote: : : > Please, please, please, PLEASE, let us not replicate the debacle that is : > C++'s const modifier! : : It doesn't feel like a debacle to me, it feels like it put the control : in the programmers hands. Yes, the syntax is often unweildy -- but IMHO : that's because when one marries the idea of constants to complex data : structures and references, the world becomes an unweildy place. Hmm, well, we'll certainly have constants of some sort or another. I don't think Damian needs to worry about me making Perl look like C++. I've also grown to detest the fact that every other word in a typical C++ program is "const". My inclination at this point is make certain things constant by default (such as the insides of a complex constant, and the parameters to a subroutine), and then have a way of "undeclaring" constancy if you really want it. It would perhaps be considered bad form to vary someone else's constants. (Outside of Indiana.) Larry
- Re: RFC 83 (v1) Make constants look like ... Andy Wardley
- Re: RFC 83 (v1) Make constants look l... Mike Pastore
- Re: RFC 83 (v1) Make constants l... Philip Newton
- Re: RFC 83 (v1) Make constan... Mike Pastore
- Re: RFC 83 (v1) Make constants look l... Michael Fowler
- Does Perl need true constants? (was R... Nathan Wiger
- Re: RFC 83 (v1) Make constants look like ... Jeremy Howard
- Re: RFC 83 (v1) Make constants look l... Dan Sugalski
- 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