News for hackers. Stuff that matters.
Re:Anti-if: The Missing Patterns by efraim on Thursday June 09, 2016 @09:58PM (#11873793)
Misko Hevery did a Google Tech Talk about this some years ago, he also use a very similar example with switching on the birds.

https://www.youtube.com/watch?v=4F72VULWFvc

Re:Anti-if: The Missing Patterns by simonhorlick on Friday June 10, 2016 @10:26AM (#11876551)
This. If there's anything that's made me a better programmer it's Misko's talks.