I wrote an article entitled "Musings on Good C++ Style" which is presently on
the front page at http://www.kuro5hin.org/ The full article is at:
http://www.kuro5hin.org/story/2002/5/9/205040/3918
K5 is a pretty good web community, much more general in focus and more civilized
than Slashdot.
The article discusses controlling header dependencies, memory management with
smart pointers (the ZRef, in ZooLib's case), initializing member variables, and
the choices of how to store and represent data and the reasons for choosing each
one. I also talk about optimization.
It is a very condensed version (4800 words) of my much longer piece, Pointers,
References and Values (20000+ words) which is at
http://www.goingware.com/tips/parameters/
Best,
Mike Crawford
--
Michael D. Crawford
GoingWare Inc. - Expert Software Development and Consulting
http://www.goingware.com/
cra...@go...
Subscribe to the GoingWare Newsletter at http://www.goingware.com/newsletter/
Tilting at Windmills for a Better Tomorrow.
|