These folks were not idiots and they knew C++ very well - that was the problem. OK, maybe they were idiots... ;) They hung themselves with the considerable rope that C++ affords, and they probably would have hung themselves in C as well....
I occasionally turn on the C++ compiler for it's more stringent type checking, etc, so yes, I agree converting does uncover some bugs. I do know C++ pretty well, and on Palm OS, I think I might still write the app in C if I were to start all over. This is partially my own comfort with C and partially due to being a bit gunshy of C++ on the Palm platform still as there appear to still be issues with C++ on Palm I would rather not add to my development problems... But this is all religious debate and I've let myself get sucked in more than I cared to already... K -----Original Message----- From: Mark Wilden [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 03, 2002 9:40 AM To: Palm Developer Forum 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/ ------------------------------------------ The information in this transmittal and any attachments is privileged and confidential and is intended only for the recipient(s) listed above. You are hereby notified that any unauthorized distribution or copying of this transmittal or its attachments is prohibited. If you have received this transmittal in error, please notify Invivodata immediately at (831) 438-9550. ------------------------------------------ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
