News for hackers. Stuff that matters.
Re:The anti-if campaign by mdemare on Monday October 12, 2009 @11:34AM (#876915)
And even in those cases, it isn't cut-and-dried. They claim "The advantage is that tomorrow, we can fulfill the request for a new type of bond by simply creating a new class, with the single required logic to calculate the value of that new bond."

Simply? I'd say that creating a new class is a hell of a lot more work than creating a new elseif branch.

Re:The anti-if campaign by j_baker on Monday October 12, 2009 @11:41AM (#876936)
That depends on the context of course. What if that elseif branch needs to be created in two places? Or 20 places?