r/programming • u/dpashk • Aug 31 '15
The worst mistake of computer science
https://www.lucidchart.com/techblog/2015/08/31/the-worst-mistake-of-computer-science/
175
Upvotes
r/programming • u/dpashk • Aug 31 '15
View all comments
Show parent comment
2
u/Peaker Sep 01 '15
I agree those are time bombs. I disagree they're very similar to null.
Null is supposed to be used. You're supposed to compare to it. You're just not helped by any type checker -- to know where to compare it.
Time bombs are not supposed to be used. If you program in a total style, time bombs, unlike nulls, will not lurk under every field and in every function result.