4 ms·
I can understand why else is sometimes not needed. JS linters will remove unnecessary else statements by default. https://eslint.org/docs/latest/rules/no-else-
by arbol 1y ago
I can understand why else is sometimes not needed. JS linters will remove unnecessary else statements by default.
https://eslint.org/docs/latest/rules/no-else-return#rule-details https://eslint.org/docs/latest/rules/no-else-return#rule-det...
But never using it is crazy.
- awesome_dude 1y agoIn a similar vein to how I just responded to the other person, maybe eventually we'll abstract `else` away so that it's use is hidden, and the abstraction ensures that it's only being used where we all collectively decide it can/should be used.