Re:The broken promise of Web Components
by 31h on Thursday March 16, 2017 @12:31PM
(#13886366)
> Possibly embrace the fact that semicolons are noise, and treat JS like you would Ruby or other line oriented languages???
I'd be happy to treat JS as "statements end with a newline, not semicolon", if that were consistently true.
The paradox of Javascript: Do statements end in a semicolon, or newline? If you answer either way, you're sometimes wrong. As far as I can tell this is the only misfeature of JS that is really unfixable.
I'd be happy to treat JS as "statements end with a newline, not semicolon", if that were consistently true.
The paradox of Javascript: Do statements end in a semicolon, or newline? If you answer either way, you're sometimes wrong. As far as I can tell this is the only misfeature of JS that is really unfixable.