DEV Community

Discussion on: Let's abuse the if statement!

Collapse
 
craigmc08 profile image
Craig McIlwrath

Agreed. The else if hints to me that something else should happen. And then this code shatters that expectation and you have to reprocess.