The eslint documentation describes a way to forbid the increment and decrement operators ++
and --
.
The description includes the sentence, that these operators
are subject to automatic semicolon insertion, differences in whitespace can change semantics of source code.
By reading this, I still don't understand why it would be a good practice to forbid them. I could think of transpile or interpreter issues but I have no clear idea.
Also, I learned in nearly every tutorial, documentation and even at University courses to use these operators.
The following documentations also do not express concerns about them:
I am very curious now what purpose it has to forbid their usage.