DEV Community

Discussion on: Human Readable JavaScript

Collapse
 
cher profile image
Cher

Developers in general agree with you. Most one liners beyond a standard if/else ternary are caught by default linting configs. If someone has to translate the code you write, it's meant for a machine. Given that this already happens once it hits an engine, it is generally not wise to write code in this manner.

Thread Thread
 
laurieontech profile image
Laurie

“Code is for humans to read and machines to interpret”! Still don’t know who said it first, but it’s a great quote.