From: "Ben Combee" <[EMAIL PROTECTED]>
>
> C++ means a lot of things to a lot of people.  People who learned C first,
> and then moved into C++ often view it as a better C, with a set of
features
> that can scale from small platforms to very large systems.

I did learn C first, and regard C++ as a better C, especially for OOP and
generic programming.

> However, recent movements in the C++ world have pushed to
> have C++ seen as its own language, with its own paradigms, including
> frequent use of exceptions and templates.

C++ has no paradigms of its own. You can use it for OOP, generic
programming, a high-level assembly language, and everything in between. Take
exceptions. Java really does encourage exceptions, because it has no output
parameters. C++ doesn't have this limitation, so you can use exceptions or
not.

> I'd also caution people that
> using C++ for Palm OS work like you would use it for work on common
desktop
> systems can lead you to some pretty big failures.  At first, it may work
> well, but when you start to build larger systems, you'll hit some of the
> hard limits of the device and be scrambling to re-architecture your
system.

In general, people shouldn't program for Palm OS like common desktop systems
no matter what language they use. It's useful to point out potential
problems with exceptions and vtable size, but I find it hard to believe that
small, Palm-sized apps would run into them. Big bloated apps will have
problems on Palms no matter what.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to