in reply to
What to do when you realize you've written bad code
Simple solution,
confess
your sins and be absolved. Either that or read the war stories others have confessed and generally feel better about things.
Comment on
Re: What to do when you realize you've written bad code
In Section
Meditations