Click here to Skip to main content
15,887,267 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: One thing I actually like about documenting my code Pin
Gary Wheeler28-Aug-23 6:09
Gary Wheeler28-Aug-23 6:09 
GeneralRe: One thing I actually like about documenting my code Pin
PIEBALDconsult28-Aug-23 7:32
mvePIEBALDconsult28-Aug-23 7:32 
GeneralRe: One thing I actually like about documenting my code Pin
Gerry Schmitz28-Aug-23 8:51
mveGerry Schmitz28-Aug-23 8:51 
GeneralRe: One thing I actually like about documenting my code Pin
honey the codewitch28-Aug-23 8:54
mvahoney the codewitch28-Aug-23 8:54 
GeneralRe: One thing I actually like about documenting my code Pin
Gerry Schmitz29-Aug-23 5:45
mveGerry Schmitz29-Aug-23 5:45 
GeneralRe: One thing I actually like about documenting my code Pin
PhilipOakley29-Aug-23 1:02
professionalPhilipOakley29-Aug-23 1:02 
GeneralRe: One thing I actually like about documenting my code Pin
Gerry Schmitz29-Aug-23 5:25
mveGerry Schmitz29-Aug-23 5:25 
GeneralRe: One thing I actually like about documenting my code Pin
Member 1309459729-Aug-23 0:39
Member 1309459729-Aug-23 0:39 
I view documentation as absolutely essential and just part of doing a good job. If class and function names are genuinely sufficient, then that's fine, but if you try and ask yourself all the questions that a new user of your code might ask, frequently there's plenty to document for clarity. I'm quite lucky in that I have a lousy memory, so when I return to my code later, I may not be that far from a new user of it myself! I find myself thankful to myself for getting the necessary details explained and documented clearly! I think if a user of your code has to read any of the code in your function bodies, your documentation is insufficient.

I also think it's also valuable if you can to spend some time writing code that consumes your code - essentially walking in somebody elses shoes. It can show you how easy or otherwise it is to work with, and can reveal opportunities to improve the design, or perhaps suggest function overloads you can provide simpler versions of to reduce any pain. If there's anything cumbersome or unintuitive about your code, you'll hopefully encounter it and be able to rectify it.
GeneralRe: One thing I actually like about documenting my code Pin
sasadler29-Aug-23 6:39
sasadler29-Aug-23 6:39 
GeneralWSO CCC OTD 2023-08-28 Pin
OriginalGriff27-Aug-23 21:34
mveOriginalGriff27-Aug-23 21:34 
GeneralRe: WSO CCC OTD 2023-08-28 Pin
Peter_in_278027-Aug-23 21:43
professionalPeter_in_278027-Aug-23 21:43 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
OriginalGriff27-Aug-23 22:11
mveOriginalGriff27-Aug-23 22:11 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
Peter_in_278027-Aug-23 22:27
professionalPeter_in_278027-Aug-23 22:27 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
OriginalGriff27-Aug-23 22:33
mveOriginalGriff27-Aug-23 22:33 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
pkfox27-Aug-23 22:50
professionalpkfox27-Aug-23 22:50 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
Richard MacCutchan27-Aug-23 23:23
mveRichard MacCutchan27-Aug-23 23:23 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
theoldfool28-Aug-23 0:37
professionaltheoldfool28-Aug-23 0:37 
GeneralRe: WSO CCC OTD 2023-08-28 - we have a winner! Pin
pkfox28-Aug-23 1:48
professionalpkfox28-Aug-23 1:48 
GeneralSeriously, Google, my eyes can't roll anymore! Pin
David O'Neil27-Aug-23 17:49
professionalDavid O'Neil27-Aug-23 17:49 
JokeRe: Seriously, Google, my eyes can't roll anymore! Pin
GKP199227-Aug-23 18:02
professionalGKP199227-Aug-23 18:02 
GeneralRe: Seriously, Google, my eyes can't roll anymore! Pin
Amarnath S27-Aug-23 19:15
professionalAmarnath S27-Aug-23 19:15 
GeneralRe: Seriously, Google, my eyes can't roll anymore! Pin
Jörgen Andersson27-Aug-23 19:56
professionalJörgen Andersson27-Aug-23 19:56 
GeneralRe: Seriously, Google, my eyes can't roll anymore! Pin
David O'Neil27-Aug-23 20:31
professionalDavid O'Neil27-Aug-23 20:31 
GeneralRe: Seriously, Google, my eyes can't roll anymore! Pin
pkfox27-Aug-23 20:25
professionalpkfox27-Aug-23 20:25 
GeneralRe: Seriously, Google, my eyes can't roll anymore! Pin
David O'Neil27-Aug-23 20:27
professionalDavid O'Neil27-Aug-23 20:27 

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.