On Nov 13, 2007 3:36 PM, Stefan Nobis <[EMAIL PROTECTED]> wrote: > You miss the point: Using languages with GC is not about programmers > who can't avoid memory leaks. It's not about ability, it's about > productivity. If the only reason you don't use assembler is that with > C your code is easier to port to a new processor I think you won't > understand, but there are languages that are *much* more expressive > (in the sense that an problem/algorithm is much more compact and > readable to write down) than C. Yes, this comes at a cost, but not a > very high cost and on the pro side you have a (much?) higher > productivity (and maybe even more maintainable code).
If you learn how to use the STL containers in C++ and perhaps shared pointers from boost, you don't need GC and I doubt anything can give you much higher productivity. I haven't introduced a memory leak in a C++ program in years (and I use it all the time), and that's primarily because I use STL containers.
_______________________________________________ computer-go mailing list computer-go@computer-go.org http://www.computer-go.org/mailman/listinfo/computer-go/