

1·
4 days agoThis person made some truly awful arguments, lol


This person made some truly awful arguments, lol


Anyone capable of doing damage already knows how to format and read minified code anyway. I do it in prod all the time when I want to test something with an override, which causes the source map to become invalid.


I work for a large software corp and we generally keep them in prod because it makes debugging prod issues much easier. The browser only downloads them when the dev tools are open.
Most scripting languages have a global scope of some kind. It’s not that big of a deal.
I’d prefer not to have it, but it hasn’t caused me problems in many years. Actually, the window object can be really useful in some situations so I’m not even sure about that.