1

Following this question I'd like to understand if document.write is a bad practice why everybody uses it for writing ads on the page?

Vladislav
  • 393
  • 4
  • 15
  • You need to understand _why_ `document.write` is considered a bad practice: it is more difficult to maintain, easy to get wrong, restricted in what it can do... but what it does do, it does perfectly well. It's like saying pitchforks are deprecated as cutlery... till you try to prepare a meal for a giraffe. – Amadan Aug 20 '19 at 04:05
  • I'm voting to close this question as off-topic because this is not a practical programming problem. – Teemu Aug 20 '19 at 04:05
  • My hunch is that it works and that code is more than 10 years old. Why change it now? – Michael Geary Aug 20 '19 at 04:18

0 Answers0