On Sun, 10 Nov 2002 16:36:03 +0100, "Aaron Ardiri" <[EMAIL PROTECTED]> wrote:
> >> I also believe that some warnings are best "handled" by turning them off. >> >> The critical point is knowing when it's ok to turn the warning off and >> when it's not. At the moment I don't have enough palm experience to >> know when to ignore gremlin warnings and when not to (although it >> appears that the insertion point warning may be one to be ignored). > >i had to re-read what was written here, and, i have to admit - i was >shocked to see what you had written. if you want to write high quality >applications the prerequisites are: > You were shocked because you didn't really re-read what was written ;-) The point I make is that with enough experience, one comes to know what warnings should be heeded and what should be ignored. I'll give you an example... I'm a long-time windows programmer and the Mickeysoft compiler routinely complains about double-float type conversions. On a previous project we were doing most of our work with doubles but still had a fair number of conversions that the compiler would complain about at the maximum warning level. Since: 1) We weren't going to turn the warning level down and 2) We needed the precision 99.9% of the time and 3) The speed hit was one that we weren't concerned about even one tiny bit, we turned off the warning and left the conversion as-is. On the other hand, the project I'm currently working on in my day job is running on a platform where double to float conversions are handled in software and as such are hideously expensive. For this project we religiously fix the conversions by removing any unintended doubles (this is a project where we don't need that kind of precision and we absolutely care about speed). It's all about knowledge of the platform and experience using that knowledge. Michael S. Harrison michaelh.dragonseye@com (reverse the dot and at to send email) * The opinions expressed here are those of my iguana * and I never know what he's going to say next. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
