News for hackers. Stuff that matters.
Re:Anti-if: The Missing Patterns by jduv on Friday June 10, 2016 @08:57AM (#11876005)
I'm surprised there was no mention of the Specification pattern.

https://en.wikipedia.org/wiki/Specification_pattern

Re:Anti-if: The Missing Patterns by daveguy on Friday June 10, 2016 @09:34AM (#11876205)
My god what an abomination of programming simplicity. Do people actually write code like this? It's as if someone said you must use interfaces and you must use objects for even the simplest boolean logic statement. I think I would claw my eyes out if I had to read and write code like this on a regular basis.