|
||
|
GP Mailing List
ATXGPSIG List
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re:
dreyhau@banet.net wrote: > Um, uh uh. For big projects C++ is horrible, IMHO is a matter of practices, I worked in a big C project that has 5 years by the time I've gotten in touch with it and was hell, of couirse I'm not blaming C , I blame bad practices, I think that it's the same on C++, it has its dos and don't . It's also a matter of documentation, etc. I've found C++ quite usefull to do some things that are nasty to do in C. > Ever heard of operator overloading. Keeping track of all them for a module or > two is 'ok'. But for > a couple hundred? Well here is one of the dos and dont's, if u overload operators in a consistent way all across the app, then no problem , if u use operator = to multiply things then u are busted. C has that sort of things too, named good practices or whatever. > C is a simply superior language. C++ is bulky and contains > numerous faults. One of the faults includes memory leaks. Who ever heard of > a memmory leak in C? I do:). In wich cases do u think C++ has its leaks? > Also C++ produces apps about 2 times as big, half as > fast, in two times the time to develop. I don't agree with that, it can have -some- overhead with some uses, but u will have almost or equal overhead to do the same thing with C if u want it as flexible as C++. The time to develop has(usually) more to do with crappy requirement/design than coding. I think that perhaps more effort is needed in C++ in design phase before any coding, then it pays back in the coding phase, if u don't make design right u need to rewrite, in C u are more probable to get crappy code instead of rewrite the whole things, in C++ I think that designs flaws are more obvious due to the language typing/encapsulation enforcement. > Don't make me argue further, there > are so many more arguments. And so many to use C++:) Cheers! Fernando ================================================================= The GameProgrammer.Com mailing list is for the open discussion of any topic related to the art, science, and business of programming games. This list is especially tolerant of beginners. We were all beginners once To SUBSCRIBE or UNSUBSCRIBE please visit: http://gameprogrammer.com/mailinglist.html
|
|