The "I'll have Larges Fries and a Diet Coke" Style of Programming
I was at a local fast food joint today and a fairly large individual in front of me order a Double Cheeseburger, Large Fries, and a Diet Coke. The irony was as big as his backside.
An hour later at work a fellow identified an opportunity to reuse some code (Diet Coke = Good) but in the interest of schedule, ease of deployment, the differenting contexts the original code was used in, changes to the installer, etc. etc., the quickest way to use the code was by copying and pasting (Large Fries = Bad) from one subsystem to the other.
Ordinarily this would have killed me a little inside, but...sigh...at least it was a Diet Coke.
Was I wrong?