Click here to Skip to main content
16,004,529 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.

 
GeneralLegacy Code Documentation Pin
MarcusCole683331-Jul-24 4:03
professionalMarcusCole683331-Jul-24 4:03 
GeneralRe: Legacy Code Documentation PinPopular
Maximilien31-Jul-24 4:22
Maximilien31-Jul-24 4:22 
GeneralRe: Legacy Code Documentation Pin
MarcusCole683331-Jul-24 7:12
professionalMarcusCole683331-Jul-24 7:12 
GeneralRe: Legacy Code Documentation PinPopular
snorkie31-Jul-24 4:45
professionalsnorkie31-Jul-24 4:45 
GeneralRe: Legacy Code Documentation Pin
jmaida31-Jul-24 16:04
jmaida31-Jul-24 16:04 
GeneralRe: Legacy Code Documentation Pin
honey the codewitch31-Jul-24 23:38
mvahoney the codewitch31-Jul-24 23:38 
GeneralRe: Legacy Code Documentation Pin
snorkie1-Aug-24 2:31
professionalsnorkie1-Aug-24 2:31 
GeneralRe: Legacy Code Documentation Pin
Matt Bond1-Aug-24 2:37
Matt Bond1-Aug-24 2:37 
In code reviews, I tell the developers to remove all comments except ones that explain _why_ we needed to do something. The _what_ should be evident from reading the code. The worse comments are ones that only re-phrase the name of the class or method.

I deal with 30 year old code that is still being updated and maintained. You can tell lots of different programmers had their hands in the pot and not all of it is good code. For the first 20 years, no code reviews were done. I'm the last person on the team with more than 3 years experience (I have 24 years) on this codebase. If I leave, then they would be so lost in a lot of areas of the code. There is no way we could document all of it at this point.
Bond
Keep all things as simple as possible, but no simpler. -said someone, somewhere

GeneralRe: Legacy Code Documentation Pin
iplaykeys1-Aug-24 3:45
professionaliplaykeys1-Aug-24 3:45 
GeneralRe: Legacy Code Documentation Pin
Jeremy Falcon31-Jul-24 6:02
professionalJeremy Falcon31-Jul-24 6:02 
GeneralRe: Legacy Code Documentation Pin
Maximilien31-Jul-24 6:49
Maximilien31-Jul-24 6:49 
GeneralRe: Legacy Code Documentation Pin
CHill601-Aug-24 2:32
mveCHill601-Aug-24 2:32 
GeneralRe: Legacy Code Documentation Pin
Jeremy Falcon1-Aug-24 6:42
professionalJeremy Falcon1-Aug-24 6:42 
GeneralRe: Legacy Code Documentation Pin
RickZeeland31-Jul-24 7:43
mveRickZeeland31-Jul-24 7:43 
GeneralRe: Legacy Code Documentation Pin
jeron131-Jul-24 7:54
jeron131-Jul-24 7:54 
GeneralRe: Legacy Code Documentation Pin
RickZeeland31-Jul-24 8:14
mveRickZeeland31-Jul-24 8:14 
GeneralRe: Legacy Code Documentation Pin
jeron131-Jul-24 8:27
jeron131-Jul-24 8:27 
GeneralRe: Legacy Code Documentation Pin
0x01AA31-Jul-24 9:01
mve0x01AA31-Jul-24 9:01 
GeneralRe: Legacy Code Documentation Pin
kmoorevs31-Jul-24 9:16
kmoorevs31-Jul-24 9:16 
GeneralRe: Legacy Code Documentation Pin
Greg Utas31-Jul-24 10:36
professionalGreg Utas31-Jul-24 10:36 
GeneralRe: Legacy Code Documentation Pin
trønderen31-Jul-24 11:31
trønderen31-Jul-24 11:31 
GeneralRe: Legacy Code Documentation Pin
Jeremy Falcon31-Jul-24 11:51
professionalJeremy Falcon31-Jul-24 11:51 
GeneralRe: Legacy Code Documentation Pin
charlieg31-Jul-24 11:10
charlieg31-Jul-24 11:10 
GeneralRe: Legacy Code Documentation Pin
trønderen31-Jul-24 11:22
trønderen31-Jul-24 11:22 
GeneralRe: Legacy Code Documentation Pin
trønderen31-Jul-24 11:21
trønderen31-Jul-24 11:21 

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.