Author: David Hanley
Date: 08:47:19 12/11/01
Go up one level in this thread
On December 11, 2001 at 03:07:36, David Rasmussen wrote: >On December 10, 2001 at 15:40:09, David Hanley wrote: > >> >>Robert. >> >>Everyone had their chess program written in C/C++. >> >>I'd say use something else. C/C++ is really a high-level assembler. It > >No it isn't. Especially not C++. Yes. C++ is assembler with objects. It's really not suitable(IMO) for writing programs of any size, unless execution time is much more important than programmer time and being bug free. I've been on many commercial projects using C/C++ and i'm aware of what happens. A lot of time ends up getting spent on things like finding corrupt pointers, trying to figure out who deallocates what, etc. >Smalltalk, CommonLisp and SML are all nice languages in their own respect, but >there is no reason to choose any of those instead of C++. Well, yes there is. The vast majority of programs of any size can be written in these languages much more quickly and compactly, and there's a lot of features built in to help keep programs bug free. Things like garbage collection alone buy you quite a bit. > >A good C++ programmer knowing tried and true C++ techniques and idioms will know >when to use what style and techniques and know that, if it is what the project >calls for, a C++ program can be expressed roughly as short and simple as with >any of the languages you mention above, but usually with much more flexibility >of style and performance. It sounds to me like you're just regurgitating part of strovsup's book, without knowing any of the languages in question very well, and i'm including c++ in my statement. > >A beginner (and many "experts") should read the book "Accelerated C++" by Koenig >and Moo, Oh, i see, koenig's book. Koenig is a c++ evalgelist; his book is toitally one-sided. Getting koenig's opinion about outher languages is like asking a ford salesman about toyotas. dave
This page took 0.01 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.