I once wrote a program, or rather, four programs, to perform one pretty arbitrary task that none the less was important to the people I was writing it for.
I wrote it in a mix of C++, VBS, Batch scripting and at least some parts of it contained HTML.
I didn't comment a thing, put entire blocks of code onto a single line, had variable names such as int I_dont_know_what_this_was_for;, and it was a complete fucking mess. What's worse is that it kind of actually worked. I made a small config text file for people to change the essentials, then I uploaded the mess onto our server. Oh, the program also fetched data from like three internal servers so if any of those PCs go offline the whole thing is fucked.
I left the job a few months later (contract expired), and a few weeks back I got a phonecall from some poor asshole who needed to fix something on it.
I told him he was fucked. I made an unworkable, illiterate and barely functioning program breaking every single standard that could ever exist. And I sleep well knowing someone else now has to deal with it. I am that guy, and I am so god damn proud.