??? 02/23/08 19:40 Read: times |
#151346 - The Obvious... Responding to: ???'s previous message |
I believe that the original idea was that "const" would be used to enforce access rules within the source file. It would make the compiler throw an error if code was encountered that tried to modify something declared with the const attribute. This had/has a lot more utility in OS environments where executables are loaded into a RAM environment such as the original platforms where C was developed and deployed.
The rest is the track of historical progress.... Michael Karas |