Click here to Skip to main content
15,893,381 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: I don't like code reviews Pin
Gerry Schmitz7-Sep-21 5:39
mveGerry Schmitz7-Sep-21 5:39 
GeneralRe: I don't like code reviews Pin
Gary R. Wheeler7-Sep-21 12:17
Gary R. Wheeler7-Sep-21 12:17 
GeneralRe: I don't like code reviews Pin
BillWoodruff7-Sep-21 13:30
professionalBillWoodruff7-Sep-21 13:30 
GeneralRe: I don't like code reviews Pin
BernardIE53177-Sep-21 15:33
BernardIE53177-Sep-21 15:33 
GeneralRe: I don't like code reviews Pin
Super Lloyd7-Sep-21 17:43
Super Lloyd7-Sep-21 17:43 
GeneralRe: I don't like code reviews Pin
Wizard of Sleeves7-Sep-21 20:37
Wizard of Sleeves7-Sep-21 20:37 
GeneralRe: I don't like code reviews Pin
Super Lloyd7-Sep-21 21:45
Super Lloyd7-Sep-21 21:45 
GeneralRe: I don't like code reviews Pin
Member 91670577-Sep-21 21:30
Member 91670577-Sep-21 21:30 
I personally like descriptive names. atoi is way less readable, than StringToInt, for example. But that's a library function (I'm working polyglot, but not everyone is), what about own functions?

When I write code, I like writing it in a way that makes clear what it does. Sure, I could litter it with comments, but too much of a good thing is real. So I have functions named DecodeL7 (with L standing for "layer" which, I admit, may be not explanatory enough). My variable to hold the L7 buffer is named accordingly, L7Buffer. Inside the DecodeL7 function, the variable name is just L7, it being a buffer is kinda obvious from context.

The example above however is a bad one. Calculation() does exactly 0 to tell the maintainer (who may be another person, or oneself in 10 years) what the code does, so it may just as well be DoIt() or frob() or just f(). With every modern programming environment supporting unicode, there's a plethora of one-letter identifiers. ä(µ) isn't readable though. At all. If it's not code I'm working on daily, I know I'll forget what it's doing after taking care of another product for a month.

As for my reading habits, I indeed parse whole words at once, both in code and in text.

As for useless code review comments, a co-worker of mine is the kind of guy saying, almost verbatim, "I've learned it that way half a century ago and I'll never learn anything ever again". Needless to say, his comments during code reviews are utter shite.
GeneralRe: I don't like code reviews Pin
Matthew Wilcoxson7-Sep-21 22:03
Matthew Wilcoxson7-Sep-21 22:03 
GeneralRe: I don't like code reviews Pin
Br.Bill8-Sep-21 15:07
Br.Bill8-Sep-21 15:07 
GeneralRe: I don't like code reviews Pin
Matthew Wilcoxson11-Sep-21 0:44
Matthew Wilcoxson11-Sep-21 0:44 
GeneralRe: I don't like code reviews Pin
Br.Bill12-Sep-21 8:59
Br.Bill12-Sep-21 8:59 
GeneralRe: I don't like code reviews Pin
Eric R Johansson8-Sep-21 0:31
Eric R Johansson8-Sep-21 0:31 
GeneralRe: I don't like code reviews Pin
Super Lloyd8-Sep-21 0:37
Super Lloyd8-Sep-21 0:37 
GeneralRe: I don't like code reviews Pin
Eric R Johansson8-Sep-21 1:44
Eric R Johansson8-Sep-21 1:44 
GeneralRe: I don't like code reviews Pin
Cpichols8-Sep-21 1:44
Cpichols8-Sep-21 1:44 
GeneralRe: I don't like code reviews Pin
Super Lloyd8-Sep-21 2:26
Super Lloyd8-Sep-21 2:26 
GeneralRe: I don't like code reviews Pin
Cpichols8-Sep-21 2:33
Cpichols8-Sep-21 2:33 
GeneralRe: I don't like code reviews Pin
RooN3y8-Sep-21 2:01
RooN3y8-Sep-21 2:01 
GeneralRe: I don't like code reviews Pin
BryanFazekas8-Sep-21 2:26
BryanFazekas8-Sep-21 2:26 
GeneralI prefer code reviews... Pin
etkid848-Sep-21 5:15
etkid848-Sep-21 5:15 
GeneralRe: I don't like code reviews Pin
SeattleC++8-Sep-21 6:52
SeattleC++8-Sep-21 6:52 
GeneralRe: I don't like code reviews Pin
Matt McGuire8-Sep-21 8:06
professionalMatt McGuire8-Sep-21 8:06 
GeneralRe: I don't like code reviews Pin
Member 140926059-Sep-21 1:08
Member 140926059-Sep-21 1:08 
GeneralRe: I don't like code reviews Pin
Super Lloyd9-Sep-21 2:54
Super Lloyd9-Sep-21 2:54 

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.