Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: eval() in or out of board structure?

Author: Russell Reagan

Date: 15:45:31 02/13/04

Go up one level in this thread


On February 13, 2004 at 17:27:31, Anthony Cozzie wrote:

>IMHO, if you have public member variables it is no longer a theoretical issue
>but a personal preference.

None of my classes have public member variables.

>I am not a huge fan of C++, because I think C++ attempts to take a low level
>language and transform it into a high level language with a few keywords and the
>STL.  Having programmed in a true high level language (ML), I just don't find
>C++ very attractive.

That was the point of C++, to bridge that gap, because that was a need when
there was a world full of C programmers and corporate projects were getting
larger and larger. It wouldn't have caught on to the degree it did if it
wouldn't have been very similar to C, or maybe even if it wasn't a superset of
C.

I like C++ because I can basically program like I did in C, but I can put some
things out of my mind by using classes. I can create a class to complain if
something goes wrong, and I can turn those internal checks off in a release
build so there is negligible overhead. This makes things more mentally
managable.



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.