News for hackers. Stuff that matters.
Re:Get rid of boolean function parameters by amarraja on Monday June 15, 2015 @10:28AM (#9719479)
In an old job, I saw some code like this

    refunder.Refund(orderId, customerEmail, true, false, payment=="visa", order.shipping == 0, true, true, order.day == "sunday")
Not verbatim, but you get the idea -- and yes, the refund method was even more confusing than then invocation

There are no comments on this comment yet.