DEV Community

Discussion on: Write better code and be a better programmer by NEVER USING ELSE statements

Collapse
 
stcinematicapp profile image
Studio Cinematic

Look, I really get what you're trying to do/say (and I was aware of the joke) but it's simply not true. In fact, to me, this yells "I really don't have enough experience, and yeah I've written some code, so here's what I think".

I've been programming for 23 years, and "else" is a very useful construct. In fact, it's more than a "must".