Re: Routine
- Posted by jeremy (admin) Apr 09, 2009
- 1103 views
It's probably not worth the time and effort to code it. Maybe I've forgotten something I once knew about it... Is there a pros/cons list?
Code what? Pros/Cons for what?
Ignoring function return values. COME ON!
Um, probably not worth the time and effort to code it? I'm confused. It's been done long ago and was very easy. A pros and cons? The pro is you don't have to use function values you don't want and the cons are most function values you should be paying attention to, if you don't use them it 98% of the time it means one of a few things... you don't know what you're doing, you don't care if the function err's and your application crashes or finally you don't care if the function fails, such as closing a database connection after your application failed at some point. The other 2% of the time you may have a valid reason for ignoring it.
Jeremy