Cofounded Host Collective (DiscountASP.net). Cofounded Player Axis (Social Gaming). Computer Scientist and Technology Evangelist with 20+ years of experience with JavaScript!
Not that I am aware of. But if there were, it would be a game changer in the semi vs no semi debate. So I think if one was found, it would make big news.
If you minify your code, or webpack or roll-up, or Babel, then semi-colons will be added to the dist bundle anyway.
So develop in the style you prefer, use prettier and ESLint to enforce your chosen style and don't stress about it 😁
Since your theories are in direct conflict with my real world experience
I've seen this problem happen in production with actual clients.
Since I started writing JavaScript, back from 1996
...ok. I'll leave you to your mental masturbation. We were talking about language implementations of semicolons, not how old you are.
For anyone that reads this thread: Know the language's implementation and consequences. It's a reasonable thing to expect you to know, and it might come up in an interview. Personal opinions don't matter much if you're asking for the answer to 1 + 1. Toolset iterates constantly and tools disappear sooner rather than later - it's JavaScript that stays. Learn from first principles.
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.
Not that I am aware of. But if there were, it would be a game changer in the semi vs no semi debate. So I think if one was found, it would make big news.
If you minify your code, or webpack or roll-up, or Babel, then semi-colons will be added to the dist bundle anyway.
So develop in the style you prefer, use prettier and ESLint to enforce your chosen style and don't stress about it 😁
Cheers!
I've seen this problem happen in production with actual clients.
...ok. I'll leave you to your mental masturbation. We were talking about language implementations of semicolons, not how old you are.
For anyone that reads this thread: Know the language's implementation and consequences. It's a reasonable thing to expect you to know, and it might come up in an interview. Personal opinions don't matter much if you're asking for the answer to
1 + 1
. Toolset iterates constantly and tools disappear sooner rather than later - it's JavaScript that stays. Learn from first principles.