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: Code comments - how old is your code? Pin
WPerkins18-Jul-23 3:00
WPerkins18-Jul-23 3:00 
GeneralRe: Code comments - how old is your code? Pin
trønderen18-Jul-23 6:54
trønderen18-Jul-23 6:54 
GeneralRe: Code comments - how old is your code? Pin
kmoorevs18-Jul-23 3:58
kmoorevs18-Jul-23 3:58 
GeneralRe: Code comments - how old is your code? Pin
Cpichols18-Jul-23 3:59
Cpichols18-Jul-23 3:59 
GeneralRe: Code comments - how old is your code? Pin
Marc Clifton18-Jul-23 5:55
mvaMarc Clifton18-Jul-23 5:55 
GeneralRe: Code comments - how old is your code? Pin
sasadler18-Jul-23 6:05
sasadler18-Jul-23 6:05 
GeneralRe: Code comments - how old is your code? Pin
jochance18-Jul-23 6:25
jochance18-Jul-23 6:25 
GeneralRe: Code comments - how old is your code? Pin
trønderen18-Jul-23 7:10
trønderen18-Jul-23 7:10 
That crusade against comments has been going on for many years, where I have been.

The major exception is huge copyright/left comment blocks topping every source file and extensive comment blocks heading every function, repeating the function name, the the types and names of all parameters of the function declaration, only doing it in 10-20 lines instead of one, cluttered with typographic markup.

I have been heavily criticized for my habit of adding a lot of explanatory ("why") end-of-line comments - end-of-line because I like to see the entire function/method in a single screenful rather than three. I also have a habit of aligning the comments from col 80, so that they do not visually disturb the code itself - you look at the comments (only) if you wonder "why". A number of my critics also love to open three source file windows side by side, so narrow that they usually won't see my comments, which are outside of their windows Smile | :)
GeneralRe: Code comments - how old is your code? Pin
Br.Bill20-Jul-23 14:12
Br.Bill20-Jul-23 14:12 
GeneralRe: Code comments - how old is your code? Pin
Jeremy Falcon18-Jul-23 6:56
professionalJeremy Falcon18-Jul-23 6:56 
GeneralRe: Code comments - how old is your code? Pin
charlieg21-Jul-23 6:05
charlieg21-Jul-23 6:05 
GeneralRe: Code comments - how old is your code? Pin
OldDBA5-Aug-23 21:26
OldDBA5-Aug-23 21:26 
GeneralRe: Code comments - how old is your code? Pin
charlieg6-Aug-23 7:52
charlieg6-Aug-23 7:52 
GeneralConnector standard Pin
trønderen17-Jul-23 10:14
trønderen17-Jul-23 10:14 
GeneralRe: Connector standard Pin
k505417-Jul-23 10:27
mvek505417-Jul-23 10:27 
GeneralRe: Connector standard Pin
trønderen17-Jul-23 15:11
trønderen17-Jul-23 15:11 
GeneralRe: Connector standard Pin
Mike Winiberg17-Jul-23 20:34
professionalMike Winiberg17-Jul-23 20:34 
GeneralRe: Connector standard Pin
Mike Hankey17-Jul-23 10:36
mveMike Hankey17-Jul-23 10:36 
GeneralRe: Connector standard Pin
trønderen17-Jul-23 15:23
trønderen17-Jul-23 15:23 
GeneralRe: Connector standard Pin
Mike Winiberg17-Jul-23 20:35
professionalMike Winiberg17-Jul-23 20:35 
GeneralRe: Connector standard Pin
charlieg17-Jul-23 10:49
charlieg17-Jul-23 10:49 
GeneralRe: Connector standard Pin
trønderen17-Jul-23 15:31
trønderen17-Jul-23 15:31 
GeneralRe: Connector standard Pin
glennPattonWork317-Jul-23 10:54
professionalglennPattonWork317-Jul-23 10:54 
GeneralRe: Connector standard Pin
trønderen17-Jul-23 15:36
trønderen17-Jul-23 15:36 
GeneralRe: Connector standard Pin
mngerhold17-Jul-23 23:00
mngerhold17-Jul-23 23:00 

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.