Author: Bo Persson
Date: 05:08:12 08/14/04
Go up one level in this thread
On August 12, 2004 at 14:24:37, Anthony Cozzie wrote: >>>There are two ways to write C++: you can write it as C with a few nice syntax >>>features to clean up your code, or you can (as you are evidently advocating) >>>write it as an attempted high level language. The only problem with this is that >>>you will fail miserably, because you still have to do your own memory >>>management, etc. >> >>What memory management? > >OK. It is obvious you have never programmed in a true high level language. Obviously not. :-) >Please read http://www.haskell.org/aboutHaskell.html, and if you still don't >understand I will attempt to explain further. I do find the example somewhat amusing though, as the C++ equivalent of sorting is written: std::sort(a + lo, a + hi + 1); This combines compile time polymorphism with C's "extremely ingenious technique" of sorting the elements in place. C++ - the best of both worlds ? Bo Persson Who still doesn't understand why C++ is a bad choice for chess programming.
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.