Click here to Skip to main content
15,885,032 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Jörgen Andersson11-Mar-21 2:08
professionalJörgen Andersson11-Mar-21 2:08 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Jacquers11-Mar-21 3:20
Jacquers11-Mar-21 3:20 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
DerekT-P11-Mar-21 5:57
professionalDerekT-P11-Mar-21 5:57 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Jacquers11-Mar-21 6:10
Jacquers11-Mar-21 6:10 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
DerekT-P11-Mar-21 7:40
professionalDerekT-P11-Mar-21 7:40 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
BryanFazekas11-Mar-21 2:26
BryanFazekas11-Mar-21 2:26 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
glennPattonWork311-Mar-21 3:17
professionalglennPattonWork311-Mar-21 3:17 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
  Forogar  11-Mar-21 4:01
professional  Forogar  11-Mar-21 4:01 
I came into a project where the last remaining programmer had quit. We had the source code - just one copy on his old machine, no backups. There were some occasional errors which at first appeared to be multi-threading issues, overwriting shared data without locks, that sort of thing.

It was a network DLL, just part of the whole product - but essential. I and another developer went through this code trying to find the error(s). After a while we coined a phrase which we both had uttered several times, "How did this ever work?" After a longer while we realized it couldn't. The source code had been updated several times after the last release - presumably trying to fix these errors. Massive amount of cut and paste (this was effectively before the internet) meant multiple copies of code in multiple methods all for slightly different functions - some of which were never even called. There was no copy of code that had actually been released in the last version - he had just ploughed on, editing the one and only copy of the code! We ended up rewriting the whole thing from functional needs (no documentation, I had been brought in because I had used the product extensively at my previous job and had been "poached" to work for the product vendor). I spent a few days writing the specifications based on my memory of what worked and what didn't and how I thought it should have worked.

When we finished it all worked and was about 9,000 lines of carefully constructed code. the code we started with was over 60,000 lines of code, mostly repeated. Phew!
- I would love to change the world, but they won’t give me the source code.

GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Jacquers11-Mar-21 4:22
Jacquers11-Mar-21 4:22 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
User 1505687911-Mar-21 4:22
professionalUser 1505687911-Mar-21 4:22 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
  Forogar  11-Mar-21 7:21
professional  Forogar  11-Mar-21 7:21 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Gerry Schmitz11-Mar-21 8:04
mveGerry Schmitz11-Mar-21 8:04 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Gary R. Wheeler11-Mar-21 14:19
Gary R. Wheeler11-Mar-21 14:19 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Carlos Perez Chavez12-Mar-21 2:16
Carlos Perez Chavez12-Mar-21 2:16 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
MikeCO1012-Mar-21 3:01
MikeCO1012-Mar-21 3:01 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
SeattleC++12-Mar-21 10:51
SeattleC++12-Mar-21 10:51 
GeneralRe: Legacy Systems Rewrite - Forgotten Knowledge Pin
Shmoken9912-Mar-21 14:10
Shmoken9912-Mar-21 14:10 
GeneralCCC OTD 11-Mar-2021 - SOLUTION Pin
DerekT-P10-Mar-21 22:05
professionalDerekT-P10-Mar-21 22:05 
GeneralRe: CCC OTD 11-Mar-2021 Pin
pkfox10-Mar-21 23:21
professionalpkfox10-Mar-21 23:21 
GeneralRe: CCC OTD 11-Mar-2021 Pin
DerekT-P10-Mar-21 23:49
professionalDerekT-P10-Mar-21 23:49 
GeneralRe: CCC OTD 11-Mar-2021 - SOLUTION Pin
Greg Utas11-Mar-21 2:21
professionalGreg Utas11-Mar-21 2:21 
GeneralRe: CCC OTD 11-Mar-2021 - SOLUTION Pin
pkfox11-Mar-21 2:40
professionalpkfox11-Mar-21 2:40 
JokeRe: CCC OTD 11-Mar-2021 - SOLUTION Pin
DerekT-P11-Mar-21 2:55
professionalDerekT-P11-Mar-21 2:55 
GeneralRe: CCC OTD 11-Mar-2021 - SOLUTION Pin
OriginalGriff11-Mar-21 4:02
mveOriginalGriff11-Mar-21 4:02 
GeneralRe: CCC OTD 11-Mar-2021 - SOLUTION Pin
OriginalGriff11-Mar-21 4:03
mveOriginalGriff11-Mar-21 4:03 

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.