[Python-Dev] Opinions on const-correctness?

Andrew Koenig ark@research.att.com
12 Mar 2002 16:11:28 -0500


David> Pretty FUD-ly, Guido! That problem only happens to people that
David> don't really understand const and its implications. If you
David> leave the job in the hands of someone who's used const
David> extensively there's no reason it should cause serious problems.

I think Guido is correct to the extent that it is a real nuisance
to retrofit const to a substantial program that was written without
using it in the first place.

I think Dave is correct to the extent that adding const to the
parameters of a collection of library functions rarely causes
trouble for users of that library.

-- 
Andrew Koenig, ark@research.att.com, http://www.research.att.com/info/ark