I love const_cast and it loves me back. (It's hard to go wrong adding const to things as long as you're confident that it's okay for them to be immutable. These totally are.)
I'm a big fan of writing in as functional a style as possible even when I'm writing in a procedural language. Fewer side effects and a well-defined sense of scope make debugging a lot easier.
(no subject)
Date: 2009-05-14 03:50 pm (UTC)