André Pang wrote: > Personal opinion: I go so far as to declare all my local variables as > const, and will sometimes restructure code to ensure that const is > used on as many variables as possible. I actually wish that C++09 > would have a compiler flag to enforce const being the default, and > that you'd have to put the keyword 'mutable' in front of variables > you want to change :).
If you are going to this length aren't you better of actually coding in Haskell (or Ocaml)? :-) Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "No stronger retrograde force exists in the world." -- Winston Churchill in "The River War", published in 1899. _______________________________________________ coders mailing list [email protected] http://lists.slug.org.au/listinfo/coders
