Click here to Skip to main content
15,879,844 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
decaffeinatedMonkey18-Jul-23 2:41
decaffeinatedMonkey18-Jul-23 2:41 
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 
There has been a fairly recent crusade against comments. Some claim code should be self-documenting and that comments are somehow evil.

You know what's documenting? Documentation... like comments.

Self-documenting? WTF? There's nearly zero code ever written that explains WHY it does what it does or WHY it was changed to do otherwise. I guess you can enforce tying commits to cards and chase down the commit that changed the code and then the card that brought that commit.

Alternatively, maybe a comment isn't such a bad thing.

Has nobody written a VS plugin to just turn all comments on/off?

Is it really just that developers hate documentation so much they'd rather claim their code does all the documentation for them? Because that's just how great their code is?

Do people not use XML comments so people get intellisense on what they are calling? Do they think making that block descriptive is some massive chore?
GeneralRe: Code comments - how old is your code? Pin
trønderen18-Jul-23 7:10
trønderen18-Jul-23 7:10 
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 

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.