Yep, I can imagine lots of dev-tools choking on the missing quotes.
Plus if you have a good editor, you don’t generally need to type the quotes yourself.
And +1 on the “stop using”. Ordering people around is not a good way to convince anyone.
Plus if you have a good editor, you don’t generally need to type the quotes yourself.
And +1 on the “stop using”. Ordering people around is not a good way to convince anyone.
In this case, any time you have more than one word or have an html character like "<" in your text, you need to go back and add quotes, or remove them when you delete that "<".
Also, all of this is stringly-typed anyways, I kinda like how it's uniformly inside quotes, not only sometimes in quotes when the conditions are just right (notice how his html sample only has his case in mind).
I would also wonder if this messes with any tooling that parses html whether it's linters or various editors.
Finally, I think people should stop using "stop using X" as blog posts. It immediately strikes me as condescending and I think it puts people instantly on the defense. Why not just "You don't need to quote your html attributes" or something? -- Frankly, that was news to me, and I like learning new things, yet here I am in the comments sharing how I disagree with them.