in reply to
Coding while drunk
It is clear that the problem is not with your code, but with your mental abilities while sober. Try getting drunk again, and I'm sure that you will be able to clearly understand the code again.
Some dull people may point out that the code is not much use if you can't understand it while you are sober, but they are solving the wrong problem. The real problem is your lack of alcohol. Put in a good supply of grog, and stay drunk. Then you will always be able to understand your code.
And remember, you don't get a hangover if you don't stop drinking.
I didn't believe in evil until I dated it.