Click here to Skip to main content
11,709,366 members (54,389 online)

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy except programming questions.

Technical discussions are encouraged, but click here to ask your programming question.

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, no programming questions and please don't post ads.
 
GeneralALL OUT FOR 260!! Pin
_Damian S_24-Nov-10 19:55
member_Damian S_24-Nov-10 19:55 
GeneralRe: [CRICKET] Hat-trick to Peter Siddle!!!! Pin
Rich Leyshon25-Nov-10 0:31
memberRich Leyshon25-Nov-10 0:31 
GeneralRe: [CRICKET] Hat-trick to Peter Siddle!!!! Pin
_Damian S_25-Nov-10 20:12
member_Damian S_25-Nov-10 20:12 
GeneralMaple Syrup Peanut Butter Eggnog Pancakes Pin
aspdotnetdev24-Nov-10 18:50
memberaspdotnetdev24-Nov-10 18:50 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
_Damian S_24-Nov-10 19:01
member_Damian S_24-Nov-10 19:01 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
aspdotnetdev24-Nov-10 19:02
memberaspdotnetdev24-Nov-10 19:02 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
LunaticFringe24-Nov-10 21:05
memberLunaticFringe24-Nov-10 21:05 
JokeRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
Chris C-B24-Nov-10 21:22
memberChris C-B24-Nov-10 21:22 
JokeRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
Rajesh R Subramanian25-Nov-10 0:24
mvpRajesh R Subramanian25-Nov-10 0:24 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
aspdotnetdev26-Nov-10 21:45
memberaspdotnetdev26-Nov-10 21:45 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
Slacker00724-Nov-10 21:54
memberSlacker00724-Nov-10 21:54 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
ChrisElston24-Nov-10 23:23
memberChrisElston24-Nov-10 23:23 
GeneralRe: Maple Syrup Peanut Butter Eggnog Pancakes Pin
Chris Meech25-Nov-10 1:57
memberChris Meech25-Nov-10 1:57 
GeneralApplication maintenance question Pin
Indivara24-Nov-10 15:04
memberIndivara24-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 Pin
_Damian S_24-Nov-10 15:08
member_Damian S_24-Nov-10 15:08 
GeneralRe: Application maintenance question Pin
Josh Gray24-Nov-10 15:12
memberJosh Gray24-Nov-10 15:12 
GeneralRe: Application maintenance question Pin
Indivara24-Nov-10 21:21
memberIndivara24-Nov-10 21:21 
GeneralRe: Application maintenance question Pin
Edbert P24-Nov-10 15:18
memberEdbert P24-Nov-10 15:18 
GeneralRe: Application maintenance question Pin
Indivara24-Nov-10 21:26
memberIndivara24-Nov-10 21:26 
GeneralRe: Application maintenance question Pin
_Maxxx_24-Nov-10 15:27
member_Maxxx_24-Nov-10 15:27 
GeneralRe: Application maintenance question Pin
Indivara24-Nov-10 21:24
memberIndivara24-Nov-10 21:24 
GeneralRe: Application maintenance question Pin
Mike Hankey24-Nov-10 15:39
memberMike Hankey24-Nov-10 15:39 
GeneralRe: Application maintenance question [modified] Pin
kmg36524-Nov-10 16:03
memberkmg36524-Nov-10 16:03 
GeneralRe: Application maintenance question Pin
Marc Clifton24-Nov-10 16:48
protectorMarc Clifton24-Nov-10 16:48 
GeneralRe: Application maintenance question Pin
meaningoflights24-Nov-10 17:36
membermeaningoflights24-Nov-10 17:36 
GeneralRe: Application maintenance question Pin
Josh Gray24-Nov-10 18:28
memberJosh Gray24-Nov-10 18:28 
GeneralRe: Application maintenance question Pin
Indivara24-Nov-10 21:43
memberIndivara24-Nov-10 21:43 
GeneralRe: Application maintenance question Pin
harold aptroot24-Nov-10 20:35
memberharold aptroot24-Nov-10 20:35 
GeneralRe: Application maintenance question Pin
Indivara24-Nov-10 21:25
memberIndivara24-Nov-10 21:25 
GeneralRe: Application maintenance question Pin
A.Kaushal24-Nov-10 20:57
memberA.Kaushal24-Nov-10 20:57 
GeneralRe: Application maintenance question Pin
thatraja24-Nov-10 21:13
memberthatraja24-Nov-10 21:13 
GeneralRe: Application maintenance question Pin
peterchen24-Nov-10 22:20
memberpeterchen24-Nov-10 22:20 
GeneralRe: Application maintenance question Pin
Indivara25-Nov-10 1:27
memberIndivara25-Nov-10 1:27 
GeneralRe: Application maintenance question Pin
John Simmons / outlaw programmer24-Nov-10 23:43
memberJohn Simmons / outlaw programmer24-Nov-10 23:43 
GeneralRe: Application maintenance question Pin
Indivara25-Nov-10 1:54
memberIndivara25-Nov-10 1:54 
JokeIt's not me Pin
Trollslayer24-Nov-10 14:14
mentorTrollslayer24-Nov-10 14:14 
GeneralRe: It's not me Pin
_Damian S_24-Nov-10 14:20
member_Damian S_24-Nov-10 14:20 
GeneralRe: It's not me Pin
427748024-Nov-10 14:37
member427748024-Nov-10 14:37 
GeneralRe: It's not me Pin
LunaticFringe24-Nov-10 14:38
memberLunaticFringe24-Nov-10 14:38 
GeneralRe: It's not me Pin
_Damian S_24-Nov-10 14:48
member_Damian S_24-Nov-10 14:48 
GeneralRe: It's not me Pin
Indivara24-Nov-10 15:06
memberIndivara24-Nov-10 15:06 
GeneralRe: It's not me Pin
aspdotnetdev24-Nov-10 15:26
memberaspdotnetdev24-Nov-10 15:26 
GeneralRe: It's not me Pin
427748024-Nov-10 15:45
member427748024-Nov-10 15:45 
GeneralRe: It's not me Pin
LunaticFringe24-Nov-10 14:37
memberLunaticFringe24-Nov-10 14:37 
GeneralRe: It's not me Pin
OriginalGriff24-Nov-10 21:43
memberOriginalGriff24-Nov-10 21:43 
GeneralRe: It's not me Pin
_Maxxx_24-Nov-10 15:30
member_Maxxx_24-Nov-10 15:30 
GeneralRe: It's not me Pin
OriginalGriff24-Nov-10 21:45
memberOriginalGriff24-Nov-10 21:45 
GeneralRe: It's not me Pin
Indivara25-Nov-10 1:56
memberIndivara25-Nov-10 1:56 
GeneralRe: It's not me Pin
Christopher Duncan24-Nov-10 18:54
memberChristopher Duncan24-Nov-10 18:54 
GeneralRe: It's not me Pin
Trollslayer24-Nov-10 22:17
mentorTrollslayer24-Nov-10 22:17 

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
Web01 | 2.8.150819.1 | Last Updated 31 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid