Click here to Skip to main content
15,895,606 members

Office politics and sh*tty code.

Source: CodeProject     Posted by Kent Sharkey    Monday, June 20, 2016 6:00pm    
"Boy, that escalated quickly."

I'm just curious to know how everyone else here deals with poorly written code in pre-existing projects.



Back to all news items

 
GeneralYou have to ask... Pin
Marc Clifton21-Jun-16 1:59
mvaMarc Clifton21-Jun-16 1:59 
GeneralUgly old code Pin
john morrison leon21-Jun-16 0:05
john morrison leon21-Jun-16 0:05 
Treat it as you would treat the original materials of a house you are rebuilding. It may be made in an antiquated or odd way but it is work done on which you have to build.
Encapsulate it so you don't have to keep looking at it. If it is troublesome then isolate it and only if it is failing in some way should you consider rewriting it.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.