DEV Community

loading...

Discussion on: Why I don't use web components

Collapse
dsills22 profile image
dsills22

"I think that websites should work without JavaScript wherever possible."
I stopped reading there. I mean I think babies should work without vaccines or society, but sorry brah, it is not going to happen. Live in the now. JS is a fuckin language interpreted by the browser, which is in turn compiled from some language. It is all code man, why do you insist on the masochistic view that code should "work" without being coded?

Collapse
oenonono profile image
Junk • Edited

Because not all code is the same, obviously? Otherwise why do we have so many languages?

Why are some developers so adamant about TypeScript? Why didn't the web start out with a single scripting language? (Please FFS, do not repeat that canard about "documents"). Why does Markdown exist?

IMO if you don't understand the strengths HTML has that JS can't and vice versa, you should spare some time and effort to doing so.