DEV Community

Discussion on: 10 Clean code examples (Javascript).

Collapse
 
weironiottan profile image
Christian Gabrielsson

Full heartedly disagree with 7, not every developer knows JS specific code shortening syntax, but every developer knows an If statement, it honestly frustrates me when a developer goes out of their way to reduce code only for it to become less readable. Code readability trumps trying to reduce lines of code IMO