toddler: no I'm done.
This reminds me of the occasional adult failure to use the nuance of mind:
Y: sure! go ahead
Programmers -- specifically those who work with Java -- may likely have encountered helpless code where a boolean
field or the result of a method returning a boolean
value is compared using ==
(or worse !=
) to false
or true
.
The time has come to offer a balm of sorts for those wounds. There's nothing like granting formal recognition to a mistake abd paving the way for it to become standard practice in a more palatable form.
I give you the toddlerBoolean
. Assertion through negation with a cherubic twist.
No comments:
Post a Comment