Click here to Skip to main content
15,887,027 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.

 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
jschell18-Oct-23 6:08
jschell18-Oct-23 6:08 
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
Maximilien18-Oct-23 7:30
Maximilien18-Oct-23 7:30 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
BernardIE531718-Oct-23 10:39
BernardIE531718-Oct-23 10:39 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
tharkaway19-Oct-23 3:13
tharkaway19-Oct-23 3:13 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
WPerkins19-Oct-23 3:31
WPerkins19-Oct-23 3:31 
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
Maximilien19-Oct-23 4:36
Maximilien19-Oct-23 4:36 
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
charlieg19-Oct-23 9:39
charlieg19-Oct-23 9:39 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
Ian Brockbank19-Oct-23 4:36
Ian Brockbank19-Oct-23 4:36 
Michael Feathers wrote a great book "Working with Legacy Code" for exactly this.
Step 1: wrap anything you are going to change in tests so you know what it does now and can ensure it continues to do that after your changes...
Step 2...whatever is necessary to fix problems you are having.
The strangler fig pattern can be helpful - gradually wrap/replace sections until the whole codebase has been replaced, like a strangler fig strangling a tree.

Ian
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
Maximilien19-Oct-23 4:43
Maximilien19-Oct-23 4:43 
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
charlieg19-Oct-23 4:55
charlieg19-Oct-23 4:55 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
charlieg19-Oct-23 4:54
charlieg19-Oct-23 4:54 
AnswerWhat about the associated costs of V, V & T ??? Pin
etkid8419-Oct-23 6:02
etkid8419-Oct-23 6:02 
GeneralRe: What about the associated costs of V, V & T ??? Pin
charlieg19-Oct-23 9:39
charlieg19-Oct-23 9:39 
AnswerRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
rxantos25-Oct-23 6:18
rxantos25-Oct-23 6:18 
GeneralRe: Strategies to upgrade antiquated C and C++ code to some more modern coding practice. Pin
Maximilien25-Oct-23 6:34
Maximilien25-Oct-23 6:34 
GeneralIn-place OS upgrade - Linux vs Windows Pin
dandy7217-Oct-23 4:40
dandy7217-Oct-23 4:40 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
abmv17-Oct-23 4:52
professionalabmv17-Oct-23 4:52 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
dandy7217-Oct-23 5:09
dandy7217-Oct-23 5:09 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
Jeremy Falcon17-Oct-23 5:38
professionalJeremy Falcon17-Oct-23 5:38 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
pkfox17-Oct-23 22:01
professionalpkfox17-Oct-23 22:01 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
OriginalGriff17-Oct-23 4:54
mveOriginalGriff17-Oct-23 4:54 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
dandy7217-Oct-23 5:02
dandy7217-Oct-23 5:02 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
Jeremy Falcon17-Oct-23 5:44
professionalJeremy Falcon17-Oct-23 5:44 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
Jeremy Falcon17-Oct-23 5:39
professionalJeremy Falcon17-Oct-23 5:39 
GeneralRe: In-place OS upgrade - Linux vs Windows Pin
OriginalGriff17-Oct-23 6:10
mveOriginalGriff17-Oct-23 6:10 

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.