> I have an odd developer question.  Why should developers care about memory
> leaks in their programs?  The OS cleans up the extra junk anyways.  Is
> there a real technical reason that we would need to get rid of all
> memory leaks?

I know you've asked only for technical reasons, but I'd like to add a
non-technical reason, which I personally find more compelling than all the
(still legitimate and important) technical reasons that have already been
brought forward by other people.


Now, I could wax lyrical about how one cleans up one's memory leaks
because it's the right thing to do, and about how when one is writing code
that will be running on other people's property, that one should treat
that property with the utmost respect, and not leave a swath of
destruction in one's wake... but that argument is founded on my particular
set of principles, and those (apparently) aren't held by everyone.  So
instead, I'll point out the more universal and obvious reason:

Anyone with an interest can run your program on one of the PalmOS
emulators or simulators using a debug ROM, and will see for themselves how
much care you take in the creation of your software.  Needless to say,
having warnings and errors here isn't the best way to impress potential
customers or potential employers with your 1337 coding 5ki115.

Trevor Powell

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

Reply via email to