Date: 2003-05-17 08:25 pm (UTC)
merlinofchaos: (0)
There's a third possibility: go way beyond what the professor expects and have fun with it. Use templates. Use abstract classes. Avoid multiple inheritance if possible. Use the STL and namespaces and operator overloading.

Multiple inheritance is evil. I rarely use it anyway, though sometimes it's unavoidable.

I admit that I rarely use templates, because they are compiler magic and don't always behave quite the way I expect them too.

Abstract classes, on the other hand, are a real backbone in my C++ programming. It makes things come out much cleaner, IMO.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

merlinofchaos: (Default)
merlinofchaos

February 2019

S M T W T F S
     12
3456789
10111213141516
171819 20212223
2425 262728  

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Jul. 13th, 2025 05:00 pm
Powered by Dreamwidth Studios