Click here to Skip to main content
15,886,110 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: Useful Source Code Documentation Pin
Craig Robbins13-Apr-22 7:27
Craig Robbins13-Apr-22 7:27 
GeneralRe: Useful Source Code Documentation Pin
Greg Utas13-Apr-22 14:47
professionalGreg Utas13-Apr-22 14:47 
GeneralRe: Useful Source Code Documentation PinPopular
Sander Rossel13-Apr-22 11:13
professionalSander Rossel13-Apr-22 11:13 
GeneralRe: Useful Source Code Documentation Pin
Jacquers13-Apr-22 18:53
Jacquers13-Apr-22 18:53 
GeneralRe: Useful Source Code Documentation Pin
Wizard of Sleeves13-Apr-22 20:56
Wizard of Sleeves13-Apr-22 20:56 
GeneralRe: Useful Source Code Documentation Pin
charlieg14-Apr-22 1:30
charlieg14-Apr-22 1:30 
GeneralRe: Useful Source Code Documentation Pin
GuyThiebaut14-Apr-22 1:47
professionalGuyThiebaut14-Apr-22 1:47 
GeneralRe: Useful Source Code Documentation Pin
Kirk 1038982114-Apr-22 2:12
Kirk 1038982114-Apr-22 2:12 
You asked for advice and are getting a whole range from a diverse set of viewpoints!

I will say that some of the most important things to document are:
1) Dependencies/Build/install/setup
2) Validation. How do you test/validate (or who else is responsible). Built in Testing?
3) Deployment Guidelines
4) Risks, Previous issues, and the most problematic code
5) The overall architecture, and a "Metaphor" for how to view the system
6) Any indication of how they might locate something (or the logic of the structure choosen)

Look at it this way. Assume YOU were walking in on day 1. The new developer to replace the previous.
You have NO CLUE what this system does. How to build it or test it. If you are even using the latest source.
Your confidence is in the toilet, and they need you to get up to speed.

What type of information would increase your confidence, and get you able to BUILD and VALIDATE the build the quickest?
Then what information would allow you to NAVIGATE the code logically?
Finally, assuming you only fixed a Typo... On your first day. What would make you feel okay to publish that change???

Document those things. NOT the code, per se.

IMHO

GeneralRe: Useful Source Code Documentation Pin
JP Reyes14-Apr-22 4:55
JP Reyes14-Apr-22 4:55 
GeneralRe: Useful Source Code Documentation Pin
Caslen14-Apr-22 23:43
Caslen14-Apr-22 23:43 
GeneralArthritic Fingers Pin
Slow Eddie13-Apr-22 3:18
professionalSlow Eddie13-Apr-22 3:18 
GeneralRe: Arthritic Fingers Pin
Slacker00713-Apr-22 3:46
professionalSlacker00713-Apr-22 3:46 
GeneralRe: Arthritic Fingers Pin
Jo_vb.net13-Apr-22 3:49
mvaJo_vb.net13-Apr-22 3:49 
GeneralRe: Arthritic Fingers Pin
den2k8813-Apr-22 3:55
professionalden2k8813-Apr-22 3:55 
GeneralRe: Arthritic Fingers Pin
Mike Hankey13-Apr-22 4:11
mveMike Hankey13-Apr-22 4:11 
GeneralRe: Arthritic Fingers Pin
OriginalGriff13-Apr-22 4:19
mveOriginalGriff13-Apr-22 4:19 
GeneralRe: Arthritic Fingers Pin
Richard Andrew x6413-Apr-22 7:08
professionalRichard Andrew x6413-Apr-22 7:08 
GeneralRe: Arthritic Fingers Pin
OriginalGriff13-Apr-22 9:07
mveOriginalGriff13-Apr-22 9:07 
GeneralRe: Arthritic Fingers Pin
Slow Eddie13-Apr-22 7:20
professionalSlow Eddie13-Apr-22 7:20 
GeneralRe: Arthritic Fingers Pin
Marc Clifton13-Apr-22 4:31
mvaMarc Clifton13-Apr-22 4:31 
GeneralRe: Arthritic Fingers Pin
Len_R13-Apr-22 6:56
Len_R13-Apr-22 6:56 
GeneralRe: Arthritic Fingers Pin
Slow Eddie13-Apr-22 7:15
professionalSlow Eddie13-Apr-22 7:15 
GeneralRe: Arthritic Fingers Pin
stoneyowl213-Apr-22 6:20
stoneyowl213-Apr-22 6:20 
GeneralRe: Arthritic Fingers Pin
Peter_in_278013-Apr-22 12:32
professionalPeter_in_278013-Apr-22 12:32 
GeneralRe: Arthritic Fingers Pin
Gerry Schmitz13-Apr-22 6:25
mveGerry Schmitz13-Apr-22 6:25 

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.