User: Password:
|
|
Subscribe / Log in / New account

Don't forget the ten commandments...

Don't forget the ten commandments...

Posted Jul 7, 2008 5:14 UTC (Mon) by walles (guest, #954)
In reply to: w00t for exception-throwing languages by giraffedata
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.


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds