There will be times when a for loop is easier to read than a higher order array method.
For instance, handling async code within a map or reduce is far more difficult to read than a loop.
Very rarely will the lack of semicolons cause bugs or unwanted side-effects. Several linters and code editors can be configured to highlight exceptions.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Strong disagree with 2, 3, and 5.
Code is for humans. Readability is above all.
Concise code != Readable code
There will be times when a for loop is easier to read than a higher order array method.
For instance, handling async code within a map or reduce is far more difficult to read than a loop.
Very rarely will the lack of semicolons cause bugs or unwanted side-effects. Several linters and code editors can be configured to highlight exceptions.