Constant Pointers  Constant Pointers

Here is an email I received in response to my essay on how to write unmaintainable code.

Constant Pointers : Thomas Uebermeirer : thomas@uebermeier.de : 2000-11-06

Unmaintainable Code is a funny page, I watch it regularly since it appeared in slashdot.

One thing I saw: Under "Naming" #14: "Deutch, Fran¸ais, Esperanto" in German it is spelled "Deutsch", or you can say "dutch" (which is spoken in the Netherlands).

Another idea (in C): put pointers on constants and change them … :)

const float Pi=3.141;
float *j;
[...]
j=π
*j=4.0;

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/feedback/unmain/constantpointers.html J:\mindprod\feedback\unmain\constantpointers.html
logofeedback Please email your feedback for publication, letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email If you want your message kept confidential, not considered for posting, please explicitly specify that.
mindprod.com IP:[65.110.21.43]
viewYour face IP:[38.107.179.212]
You are visitor number 11.