4 ms·
I went from my last job where every method and variable declaration had to be commented to my current job where there isn't a specific rule against comments in
by rufus_foreman 5y ago
I went from my last job where every method and variable declaration had to be commented to my current job where there isn't a specific rule against comments in code but if you put in a PR with comments in it, you're going to get rejected after being laughed at.
I thought I would miss it, but I don't miss the documentation. Code doesn't lie.
- vaylian 5y agoBut code doesn't always explain why it is the way it is.
- rufus_foreman 5y agoIt does a hell of a lot better job than comments. I can't believe you've got me justifying this policy. But it does seem to work. shrugs
- 15rthughes 5y agoYou really can’t believe someone wants you to justify a stupid rule and toxic workplace environment?
- lloydatkinson 5y agoSounds like a toxic environment.
- icholy 5y agoYou're an idiot.
- alecbz 5y agoComments like x = 4 # Sets x to 4 Are of course silly and I'd laugh at them too, but comments when used correctly are hugely valuable. Even a stale comment can be helpful in giving you a sense of what people were trying to do. Do you not use commit messages either? Do you have any documentation at all?