[fpc-pascal] Compiler option to check return value ignorance

"Vinzent Höfler" JeLlyFish.software at gmx.net
Thu Aug 14 15:06:29 CEST 2008


Datum: Thu, 14 Aug 2008 08:48:58 -0400
Von: Jeff Wormsley <daworm10 at comcast.net>

> be forced to check for conditions that aren't likely to ever occur.  The 
> extra expense in development time isn't worth the risk of not doing the 
> checks.  That cost vs risk analysis will be different for everyone.

Consensus these days is that the earlier a bug is detected the cheaper it is to fix. So business-wise a potential bug that doesn't even slip through the compiler has zero cost for fixing it.

Another ten seconds of typing work is worth the effort to avoid potentially hours of searching for a nasty bug in software that's already deployed in the field. Especially when it comes to maintenance, where the poor guy has to decide if the ignorance was intentional or not each time.

Well, YMMV.


Vinzent.

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer



More information about the fpc-pascal mailing list