How to write a program as good as possible?
a good program must be easy to work with and useful. however, i think it there's more.
do you care about design and coding? do you care about how to use programming language in right way.
C++ supports OOP and GP, and many questions can be fixed with inheritance and template. what will you choose between inheritance and template if both they are can fix the problem perfectly?
I use many templates in my program, and somebody told me that i misuse template because it can be fixed with inheritance and template will bring many classes here, but i responded him that is a style and some problems can be fixed more easiler
what do you think about this? and your opinion?
thanks
Jinhao