Subsentient [soylentnews.org] writes:
I was digging through the piles of garbage in my server today and found a rather large program I had written when I barely knew C. It was so bad, it naively reimplemented strlen(), had mixed and inconsistent case for identifiers, and it had a comment next to a const char *const saying
/*constant pointers*/, to name a few. It was so bad, I wasn't sure whether to laugh or vomit, or perhaps both at the same time.
So, I ask you, what is the worst code you ever wrote? Were you a noob? Were you exhausted? I'm interested to see what soylenters have buried deep, deep in their drives.
Original Submission