Don't forget the ten commandments...
Posted Jul 7, 2008 5:14 UTC (Mon) by walles
In reply to: w00t for exception-throwing languages
Parent article: TASK_KILLABLE
... for C programmers. Let me quote the sixth commandment for you:
If a function be advertised to return an error code in the event of difficulties, thou shalt check for that code, yea, even though the checks triple the size of thy code and produce aches in thy typing fingers, for if thou thinkest ``it cannot happen to me'', the gods shall surely punish thee for thy arrogance.
Writing broken code for yourself is OK. Writing broken code for others is not.
to post comments)