5 ms·
The code smell I see is the omitted semicolons. The pitfalls of doing this are well documented. Just don't do it.
by svnpenn 4y ago
The code smell I see is the omitted semicolons. The pitfalls of doing this are well documented. Just don't do it.
- gherkinnn 4y agoThe commonly cited pitfalls are either strawmen or exceedingly rare. ASI is predictable and reliable. Not once in 5 years of semicolon-less development did it come to bite me or anybody else in a notable manner. By all means use them in your work, but don’t treat it as ultimate truth. It is not.