Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please use the programming forums.


 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmemberLunaticFringe24-Nov-10 21:05 
JokeRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmemberChris C-B24-Nov-10 21:22 
JokeRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmvpRajesh R Subramanian25-Nov-10 0:24 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pinmemberaspdotnetdev26-Nov-10 21:45 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmemberSlacker00724-Nov-10 21:54 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmemberChrisElston24-Nov-10 23:23 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes PinmemberChris Meech25-Nov-10 1:57 
GeneralApplication maintenance question PinmemberIndivara24-Nov-10 15:04 
This will probably be moot because I'll be dragged off to some other project soon enough, but it would be nice to know anyway - what would you do if you had to add features to a horribly designed and coded legacy system?
 
For example, there is no consistent coding style, obscenely long functions, global variables, classes that are not really classes (just a bunch of unrelated methods), etc. The only things missing are gotos.
 
[list au JSOP style]
 
0. Write new code to match the old, and to hell with conventions
1. Make new code good, but leave old stuff untouched as much as possible
2. Clean up old code only where new code is added, or new code uses old
3. Clean up everything (hypothetical situation, if you have time)
4. [add as required]
 

I tend to go with 2, but usually run out of time...
 
Oh and don't suggest anything that involves causing bodily harm to the original developer, I don't feel particularly suicidal right now.
 
[update]
Thanks for all the fish replies, everyone!
 
I think the general consensus is that the worst stuff should be cleaned up, but not so much as to screw it up. May be too late for that, I think I already broke a few things Sigh | :sigh:
GeneralRe: Application maintenance question Pinmember_Damian S_24-Nov-10 15:08 
GeneralRe: Application maintenance question PinmemberJosh Gray24-Nov-10 15:12 
GeneralRe: Application maintenance question PinmemberIndivara24-Nov-10 21:21 
GeneralRe: Application maintenance question PinmemberEdbert P24-Nov-10 15:18 
GeneralRe: Application maintenance question PinmemberIndivara24-Nov-10 21:26 
GeneralRe: Application maintenance question Pinmember_Maxxx_24-Nov-10 15:27 
GeneralRe: Application maintenance question PinmemberIndivara24-Nov-10 21:24 
GeneralRe: Application maintenance question PinmemberMike Hankey24-Nov-10 15:39 
GeneralRe: Application maintenance question [modified] Pinmemberkmg36524-Nov-10 16:03 
GeneralRe: Application maintenance question PinprotectorMarc Clifton24-Nov-10 16:48 
GeneralRe: Application maintenance question Pinmembermeaningoflights24-Nov-10 17:36 
GeneralRe: Application maintenance question PinmemberJosh Gray24-Nov-10 18:28 
GeneralRe: Application maintenance question PinmemberIndivara24-Nov-10 21:43 
GeneralRe: Application maintenance question Pinmemberharold aptroot24-Nov-10 20:35 
GeneralRe: Application maintenance question PinmemberIndivara24-Nov-10 21:25 
GeneralRe: Application maintenance question PinmemberA.Kaushal24-Nov-10 20:57 
GeneralRe: Application maintenance question Pinmemberthatraja24-Nov-10 21:13 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.140916.1 | Last Updated 17 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid