View Single Post
Old 15th May 2004, 11:06     #8
king_dick
 
Quote:
Originally posted by pkp|ex

IMO try to stick to procedrual C/C++ ( eg, basic normal old functions and structures ) and try to stay away from going with all the super tangy OO flavours ( eg, cin/cout, operator overloading, inheritance, and all that weirdo polymophisim shit and such like).

Going all out Mr.OO in C++ is all good in very good in theory but when its real world stuff, it can become a real pain in the arse.
I couldn't disagree more. This leads to bad C, and very bad C++. If he wants to learn C, then he can get a C book and learn C. If not, then he should learn how to use C++, not a kneecapped subset.
Of course, I'm not expecting the guy to whup out all the features of C++ right from his first 'hello world' program, but advising him to stay away from those features for ever seems strange.
A good book would introduce the OO features of the language at a nice pace, so that he could learn without getting overwhelmed by it all. Hell, thats why you pay for the book.
  Reply With Quote