One of many signs you're in trouble
ItsAllGeekToMe last edited by
I've taken over a large web app/site. WTFs are Fin everywhere. I was scrolling through a file of about 12000 lines that consisted of one gigantic switch() statement. That's a WTF in itself. But seeing this in the code made me sigh....
<a bajillion lines of cases>
// WHAT HAPPENED HERE?!??! THIS USED TO WORK BUT NOW IT DOESN'T
<another bajillion lines of cases>
Happy Holidays all.
RevEng last edited by
I think I would have started writing that a bajillion lines sooner.
ChengWah last edited by
You poor bastard. Sincere sympathy.
MrBester last edited by
Ahh, the joys of the Extract Method pattern (* 2 bajillion). You'll use it so much you'll dream of it at night and it will occupy every waking thought until you realise how much Introduce Parameter you can get away with. Only then will your personal hell become somewhat tenable.