DEV Community

Discussion on: short-circuits && clean code

Collapse
 
alainvanhout profile image
Alain Van Hout

That kind of code is 'clever code'.

Clever code is only good for the person who writes it (or rather, their ego). For everyone else, boring code tends to be the best code in the world, because when it comes to code ... you do not want to be surprised.