4 ms·
I find both this comment and the original article super weird. Conventional wisdom has been against the use of document.write since before many of today's webd
by cxr 4y ago
I find both this comment and the original article super weird. Conventional wisdom has been against the use of document.write since before many of today's webdevs were even born.
It's still in the browser, of course—because it has to be. But it's not as if people are being taught to use document.write and then having the rug pulled out from under them in a "sike!" moment when it's revealed that this often used fixture of the programmer's toolbox is is actually problematic. What strikes me as odd about the article is that we've reached a point where not only are people not being taught to use document.write anymore, they're not being taught not to use it anymore, either. That's how much of a non-issue this is. So what's with the article belaboring the point?