I'm bored. When that happens my mind comes up with all kinds of weird crap to keep itself occupied. So I figured I might as well subject you to the latest one. Think of this as a mental exercise. The scenario goes likes this:
A bad programmer dies and goes to hell. Now when I say bad I mean the kind who doesn't write comments, couldn't care less about conventions of any sort and is always writting "smart" code. You know the type. You (the devil) have to come up with an eternal torment. Now the ole lake of fire song and dance just isn't gonna cut it. It's been done too much in the past. You need to come up with a creative, original and fitting punishment. What do you do?
Here's a couple of solutions I came up with.
The guy has to write a brand new OS, only the compiler has a slight quirk. When it finds an error it deletes all the source code. Add to this a keyboard whose keys are blank and are rearranged every day. For extra bonus make sure that all non-alphabetic characters need a four letter combination each.
Or... he has to debug a huge program where everything is included from different files. And those files get everything from other included files. And so on and so forth all the way down to files containing individual commands. Of course the PC doesn't have a lot of HDD space so every file is stored on a punchcard... and the machine can only read one at a a time. For extra bonus add a giant fan under the floor so there's a constant cloud of punchcards flying around.