DEV Community

Discussion on: How to Get Rid of Annoying IFs Forever

Collapse
 
mcsee profile image
Maxi Contieri

Thank you, Jason

I'm aware of over engineering and overbroad generalization. That's why the article has a counterexample on it and warns against abuse.

Title is a bit clickbait. But the word 'annoying' has two meanings
1) All the Ifs are annoying and should all be removed.
2) We need to remove JUST the annoying ones.

The article's spirit is the second one.

Collapse
 
codemouse92 profile image
Jason C. McDonald • Edited

I figured as much, but you have to consider how your readers MIGHT perceive it. Skimming is prevalent, and this doesn't skim the way you'd want.

Thread Thread
 
mcsee profile image
Maxi Contieri

Certainly I'll edit the conclusion to stress this out.

Thank you for your feedback!