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 :)
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 :)