Old DailyWtf article about a VCS reading .js comments



  • Apparently I'm bad at google now.

    Does anyone remember the old DailyWTF article about how an entire production environment died after a developer deleted all the comments out of JavaScript files only to discover that the deployment system actually used the .JS comments as part of the site deployment thereby making them actual executing code in that context?

    Could I haz link plz?


  • Notification Spam Recipient

    @WhatYouSay I dimly remember something like this approximately nine years ago. Sadly my Google fu is also parking



  • Perhaps:

    But the problem came when comments were added (to JSON, which doesn't actually have comments anyway), so ... maybe not.



  • @Watson thank you! I was wrong on the details but this is exactly the one I was thinking of


Log in to reply