People who code in C++ for small embedded devices like Palm tend to code like it was C anyway. If you want C++ for stronger type checking and simple datatype definitions, then by all means use it, but if you think you're going to use it for some real OO development then forget about it. Stuff like code re-use, try/catch exception handling, OO design (like anyone would use RR to design a Palm app), operating overloading (like anyone with any sense really uses that), templates, multiple inheritance, etc. usually go out the window when you're writing 100K apps(and that usually is including the graphics).
----- Original Message ----- From: "Mark Wilden" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, October 03, 2002 9:40 AM Subject: Re: C or C++ > ----- Original Message ----- > From: "Kevin OKeefe" <[EMAIL PROTECTED]> > > > >Or, you use C because the software was written before C++ was really usable > on Palm and you are still adding to it.< > > Converting C to C++ is pretty easy. The compiler will point out the few > areas in which legal C code is illegal C++ code. The conversion process > could well even uncover some bugs. > > >I also know of many times where C++ caused people to do things because they > were neat C++ features but > not really required or necessary for the architecture resulting in some > pretty horrendous architectures.< > > C++ never "caused" anyone to do anything. :) Idiots write idiotic programs, > and it's true that if you give them more power, the potential for idiocy is > that much greater. > > However, I'm talking about people who are not idiots, as well as those who > know C++. > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
