3 ms·
> I'm using it as a descriptor for people who make arguments against semis. Doesn't change the point: "back in my day, we used semicolons everywhere..." > Yes
by ng12 8y ago
> I'm using it as a descriptor for people who make arguments against semis.
Doesn't change the point: "back in my day, we used semicolons everywhere..."
> Yes, but it's clearly there as a corrective measure for people who mistakenly omit them. So, the spirit of the language spec and all signs point to: use them.
I think you're projecting quite a bit here. If you're interested, here's a ticket from TC39 proposing directly discussing possible issues with ASI: https://github.com/tc39/ecma262/pull/1062/files https://github.com/tc39/ecma262/pull/1062/files
Point being they're not advocating for using semicolons, but making it clear what the possible edge cases are.
> But anyway...why do you not want semis?
Because I don't want the noise. Yeah, theoretically they might save you some time debugging once in a few million LoC but including them everywhere adds a whole lot of pointless characters.