Here's a good Friday post from Derick Bailey:

I inherited a glorious WTF in a 426 line VB6 validation routine that was inherited by many before me and rarely, if ever, modified from GWBasic, through VB1 and all the way up to VB6 over the last 10 years. Among the many jewels of repetitious redundancy in code, I found this wonderful chunk that I like to call “When If-Then Attacks”.  After refactoring the code for vb.net, the 426 lines came down to a manageable 230 lines of code ... it works just fine, now, but I still have no clue as to the actual logic of the validation.