The Anti-If Campaign
antiifcampaign.com
antiifcampaign.com
Curse you, Haskell, for making me so bitter!
EDIT: This is a clue to bad intent. "Follow the money!"
Edit: correlation?
I agree with what you're getting at, and I think that the idea of popularizing "AntiIf" as a slogan is really stupid and dangerous. The first eager intern who suggests refactoring some code because "ifs are bad", I'm not a religious man, but God help them.
What I was trying to point out is that the single example they have up right now showing that 'if' is "bad" is dispatching on types, which a good number of languages support out of the box (in other words, it's a strawman). If you're already inspecting types, then they presumably already exist, so there's no additional overhead in using your language's features to get clearer code when you can.
The idea is just bad.
Ah, but the page implies use bunches of teeny classes. Was that what Alan Kay had in mind when he coined "Object Oriented Programming"?
(Virtual functions were not an option as this was taking place inside an STL '==' comparator.)
And after that, we will eliminate source code, because it's too complicated. Everything you need to do can be done with 5x7 index cards.