News for hackers. Stuff that matters.
Re:Get rid of boolean function parameters by tempodox on Monday June 15, 2015 @09:49AM (#9719226)
My guess is: The fact that Booleans only encode a single distinction fools us into thinking we can be sloppy with naming their values or the places those values are stored (not just function parameters). In any given context, that distinction may seem trivial.

It takes a good deal of practise to know from experience how wrong that would be. So take my advice and always have a copy of this article under your pillow :)

There are no comments on this comment yet.