Author: David Rasmussen
Date: 00:00:22 11/14/02
Go up one level in this thread
On November 13, 2002 at 17:00:51, Russell Reagan wrote: >On November 13, 2002 at 12:04:44, Gian-Carlo Pascutto wrote: > >>That's a bit of an overgeneralization. I learned BASIC before >>anything else, but I wouldn't use it for anything now. But yes, >>I'd pick the language I'm most comfortable in, which would be >>Object Pascal or C. > >So this poses the question, do you prefer a structured language like C over an >object oriented language like C++ or Java because you first learned BASIC? C++ is not object oriented. It is very purposely, by design, a multi-paradigm language. It is a general misunderstanding that C++ is C with classes. It is not. Aside from the fact that you can write excellent C++-style code which is not OO, there are several important additions as well, most notably templates, and the Standard C++ Library (which STL is a part of). Even for small programs, the style of a good C++ program is vastly different from an equivalent C program. And it's not at all certain that the C++ version will use classes, client-wise. Of course, the library which it uses might use classes, but that is invisible to the client program. /David
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.