[Jussi Laako]

On Sun, 2005-06-05 at 15:08 +0200, fons adriaensen wrote:

My aproach to C++ is very simple: I use it as 'C with classes'. No streams, no
STL, no other nonsense. Gives me the best of both worlds - clean objects and
low level.

Same here, except;

- exceptions make error handling simpler and more robust
- templates are good for abstraction in some cases

Problem with most STL implementations is that it's creating too complex
constructs using pure templates. Because of how templates are
implemented, I think template implementations should always be as simple
as possible with most of the actual code in 'real' classes.

I'm usually limiting inheritance in my implementations to maximum of two
or three levels and absolutely no multiple inheritance.

I second both of you.

Cheers, Tim

Reply via email to