Author: Peter McKenzie
Date: 19:30:57 08/16/00
Go up one level in this thread
On August 16, 2000 at 18:56:15, Tom Kerrigan wrote: >C++ is a superset of C. > >You will be able to write your chess program in C, compile it with a C++ >compiler, and get exactly the same performance. > >If you use C++ features, your performance will decrease depending on which >features you use and how often you use them. The performance hit can range from >trivial to extreme. > >In my opinion, the goal of OOP is to organize and simplify complicated things. I >don't think a chess program is so complicated that it can benefit from OOP. Really, I can't let this go by without a good chuckle! If a chess program isn't complicated, what is??? Thats not to say that I don't understand my chess program, or that I haven't seen other (non chess) programs of similar or greater complexity. But if C++ supports a few abstraction techniques that make my code easier to understand and change, with minimal impact on performance, then I'm all for it. > >-Tom
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.