DEV Community

Discussion on: There's no "else if" in JS

Collapse
 
paulsmiffy6969 profile image
Paul Smith

"there is a golden rule"... Sometimes I sacrifice efficiency for readability, sometimes I do the opposite. To say one size fits all is arrogant, narrow minded and not teaching good practices. There should be a good reason to do everything we do, even if it is not the most appropriate it can still be the correct choice for that instance