25Jun/090
Anti-IF Campaign
I have two rules when it comes to software development. The first rule I learned in high school and was learned to me by my CS professor. "If you're copying and pasting, you're doing it wrong" You wouldn't believe the massive effect this has had on my learning of creating decent software. The second rule is quite a bit newer to me and is a direct result of meeting K-man
and WassupJose. Don't write IF or CASE statements. This is meant to avoid coupling of logic between different types and perhaps should be written more acurately as "don't write IF Type = X". Well, I just happened to run into this website promoting the same concept. Nice!