DEV Community

Discussion on: Writing better conditional expressions in JavaScript

Collapse
 
anubra266 profile image
Abraham

Shorter code has better readability, given you use good naming conditions.

Collapse
 
moopet profile image
Ben Sinclair

Sometimes it does, sometimes it doesn't; I don't think you can say that as a rule.

Thread Thread
 
anubra266 profile image
Abraham

True...I just think there's more pros on that note.