DEV Community

Discussion on: How do you handle the disposable IF statements ?

Collapse
 
mazentouati profile image
Mazen Touati

Yeah, that's logical. Though, I'm not wasting such time on the nano optimization. At most, I use early exits and keep the rare scenario to the end. I think my discomfort is mental as I'm always anxious about such rarely used code without really doing anything about it.

Collapse
 
powerc9000 profile image
Clay Murray

That's fair.