Click here to Skip to main content
15,887,485 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: Need free VS tool which generates code documentation for me! PinPopular
Jacquers20-Feb-24 0:27
Jacquers20-Feb-24 0:27 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Mike Hankey20-Feb-24 0:33
mveMike Hankey20-Feb-24 0:33 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net20-Feb-24 0:35
mvaJo_vb.net20-Feb-24 0:35 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jacquers20-Feb-24 0:36
Jacquers20-Feb-24 0:36 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net20-Feb-24 0:45
mvaJo_vb.net20-Feb-24 0:45 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
trønderen20-Feb-24 7:11
trønderen20-Feb-24 7:11 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net20-Feb-24 7:17
mvaJo_vb.net20-Feb-24 7:17 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
trønderen20-Feb-24 8:28
trønderen20-Feb-24 8:28 
I never used this tool, but OP presents an example where it doesn't catch his 'return lopc;', leaving only
C++
/// <returns>
///   <br />
/// </returns>
in the 'documentation'.

I am one of those who likes to get out of here as soon as the job is done; I detest the 'single exit point' style that could increase the block nesting level by half a dozen or more. In other words: Some methods can have half a dozen or more return statements.

You might want to have them all listed above the method prototype; I think it messes it up. With several exits, the reason for leading to that exit is frequently far more essential than the exit value - especially if it is in the class of 'success' or 'failure'! Seeing four 'return failure' and two 'return success' in the documentation is not really informative. Seeing 'return lopc' makes very little sense until you have studied the actual code, seeing how lopc is built, but then you hardly need the documentation telling that lopc is returned!

If you use the template for filling in a brief explanation of what it takes to succeed, or in this case, what is the semantics of the subset of cards returned: Fine. I assume it applies to all the return statements, if there are several.

Also, those insisting on 'single exit point' must refrain from coding any exception that might propagate out of the method. That would be an exit not through that 'single exit point', so trusting that you can catch everything immediately before your single 'return' is fooling yourself.

Religious freedom is the freedom to say that two plus two make five.

GeneralRe: Need free VS tool which generates code documentation for me! Pin
Richard MacCutchan20-Feb-24 0:49
mveRichard MacCutchan20-Feb-24 0:49 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net20-Feb-24 0:53
mvaJo_vb.net20-Feb-24 0:53 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Maximilien20-Feb-24 1:58
Maximilien20-Feb-24 1:58 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Richard MacCutchan20-Feb-24 4:08
mveRichard MacCutchan20-Feb-24 4:08 
JokeRe: Need free VS tool which generates code documentation for me! PinPopular
0x01AA20-Feb-24 1:14
mve0x01AA20-Feb-24 1:14 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
den2k8820-Feb-24 2:30
professionalden2k8820-Feb-24 2:30 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
TNCaver20-Feb-24 4:58
TNCaver20-Feb-24 4:58 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
lmoelleb20-Feb-24 5:46
lmoelleb20-Feb-24 5:46 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
trønderen20-Feb-24 7:17
trønderen20-Feb-24 7:17 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
jochance22-Feb-24 5:22
jochance22-Feb-24 5:22 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Malte Klena20-Feb-24 5:39
Malte Klena20-Feb-24 5:39 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Ravi Bhavnani20-Feb-24 5:55
professionalRavi Bhavnani20-Feb-24 5:55 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Graeme_Grant20-Feb-24 9:00
mvaGraeme_Grant20-Feb-24 9:00 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net20-Feb-24 9:09
mvaJo_vb.net20-Feb-24 9:09 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Graeme_Grant20-Feb-24 9:36
mvaGraeme_Grant20-Feb-24 9:36 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Jo_vb.net21-Feb-24 5:52
mvaJo_vb.net21-Feb-24 5:52 
GeneralRe: Need free VS tool which generates code documentation for me! Pin
Graeme_Grant21-Feb-24 8:51
mvaGraeme_Grant21-Feb-24 8:51 

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.