DEV Community

Discussion on: What's the worst code you've ever written?

Collapse
 
jrothlander profile image
jrothlander • Edited

I remember do something similar in UNIX scripting where you delete all the files on a system. The way you figure out who did it was that the only remaining account left on the system was theirs, as you cannot delete your own account. That was always fun. Even more fun when one of the backups failed.