[geos-devel] const-correctness

strk strk at keybit.net
Sun Oct 19 06:39:46 EDT 2003


What do you think about getting things const correct in GEOS ?
It helped a lot finding and fixing bugs so far, but it is still
an incomplete work.

Quoting from C++ FAQ Lite:
<http://www.parashift.com/c++-faq-lite/const-correctness.html#faq-18.3>

[18.3] Should I try to get things const correct "sooner" or "later"?

   At the very, very, very beginning.

   Back-patching const correctness results in a snowball effect: every
   const you add "over here" requires four more to be added "over there."

--strk;



More information about the geos-devel mailing list