4 ms·
As far as I know, there is still a configuration I wrote at a previous employer where I left the remark: ----- -- STOP. YES, YOU. -- -- THIS CODE IS A
by mfringel 5y ago
As far as I know, there is still a configuration I wrote at a previous employer where I left the remark:
-----
-- STOP. YES, YOU.
--
-- THIS CODE IS A PROOF OF CONCEPT THAT DOES HORRIBLE THINGS TO THE PLATFORM.
-- THE FACT THAT IT WORKS AT ALL IS VERY VERY BAD.
--
-- DO NOT RUN THIS IN PRODUCTION. IF YOU DO, I WILL KNOW, AND I WILL FIND YOU.
-----
- haolez 5y agoThe fact that the comment syntax seems to be from SQL, this gets even more terrifying :)
- csours 5y agoWe had a script that would re-sequence all the jobs in the system, which you rarely want to do, as you have to put eyes on a bunch of physical locations. The password for the script was "BADIDEA"
- throwaway6532 5y agoNice. My favorite bit of code I wrote like that was when upgrading a bit of logging that previously caused a very scary outage last time another dev tried it. To mitigate the risk of it happening again when I attempted a similar upgrade a second time I gated it with a check to make sure a specific invariant wasn't being violated with a method called CheckForLandmines();