Assert Yourself
2018-11-09 15:59:21.566793+00 by
Dan Lyke
2 comments
Assert yourself - some notes on programming defensively and hiding bugs. Some good stuff to think about, especially as we're moving into a world of high failure probablistic systems (eg: distributed and networked)
[ related topics:
Software Engineering
]
comments in ascending chronological order (reverse):
#Comment Re: Assert Yourself made: 2018-11-10 00:13:08.217141+00 by:
TheSHAD0W
Programming offensively would be even better... Rather than:
if (info == None)
return
instead, do:
assert info != None
This will rapidly tell you where your code went wrong.
#Comment Re: Assert Yourself made: 2018-11-11 02:19:53.152296+00 by:
TheSHAD0W
... And I didn't even realize I'd literally done what the title of the article instructed...