Click here to Skip to main content
15,886,362 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 review madness Pin
lmoelleb13-Apr-22 4:24
lmoelleb13-Apr-22 4:24 
GeneralRe: code review madness Pin
Gerry Schmitz13-Apr-22 6:46
mveGerry Schmitz13-Apr-22 6:46 
GeneralRe: code review madness Pin
rnbergren14-Apr-22 5:34
rnbergren14-Apr-22 5:34 
GeneralRe: code review madness Pin
Kirk 1038982114-Apr-22 2:04
Kirk 1038982114-Apr-22 2:04 
GeneralRe: code review madness Pin
Cpichols14-Apr-22 2:05
Cpichols14-Apr-22 2:05 
GeneralRe: code review madness Pin
haughtonomous14-Apr-22 2:35
haughtonomous14-Apr-22 2:35 
GeneralRe: code review madness Pin
DougInNC214-Apr-22 3:00
DougInNC214-Apr-22 3:00 
GeneralRe: code review madness Pin
rallets14-Apr-22 4:40
rallets14-Apr-22 4:40 
20 years developer here. One of the most annoying thing for me is lack of coding standard and inconsistency around the code.
That just not make any sense for me, just make reading, understanding and following the code more difficult.
When I'm coding I think every time "what if it's me reading this code in 2 years?".
So - for me - bad formatting is very very annoying, because I want my brain to focus on the functionality and not to spend energy jumping around differents brackets style.
As example I found very difficult to read a IF without brackets, or 1-liner (like your case).
The worst case is when I need to read code written by the smart guy that have 12 logical steps in one line (like 200 chars long line, making calls to 2/3 functions) that I could split in 8 lines with good variable names explaining what's happening there... soooo easy to follow and understand, debug, etc. But wait... usually that code comes from the dev that have very low quality and a lot of bugs, as they never test/debug the code, because they think that "it works for sure". And it's pretty obvious they cannot debug their code, as it's a multi step singleline with a high cyclomatic complexity... that could be impossible to do!
So in my experience I have associated bad coding styles to low-quality-developer. And as today I have never meet an exception to this my "personal" rule.
So just stick to your company coding style, if doesn't exist, make one, otherwise you cannot complain. Many IDE have linter, editorconfig or similar.
But to be honest, your manager is not "micro-managing" you, but just saying his opinion and giving you a feedback. That's the goal of a code review, is it?
Usually developer have poor communication skills, this I think is a good example of it.
GeneralRe: code review madness Pin
JP Reyes14-Apr-22 5:17
JP Reyes14-Apr-22 5:17 
GeneralI rest my case ... Pin
OriginalGriff12-Apr-22 11:50
mveOriginalGriff12-Apr-22 11:50 
GeneralRe: I rest my case ... Pin
PIEBALDconsult12-Apr-22 12:04
mvePIEBALDconsult12-Apr-22 12:04 
GeneralRe: I rest my case ... Pin
DRHuff12-Apr-22 13:59
DRHuff12-Apr-22 13:59 
GeneralRe: I rest my case ... Pin
Randor 12-Apr-22 14:31
professional Randor 12-Apr-22 14:31 
GeneralRe: I rest my case ... Pin
obermd12-Apr-22 15:48
obermd12-Apr-22 15:48 
GeneralRe: I rest my case ... Pin
pkfox12-Apr-22 21:45
professionalpkfox12-Apr-22 21:45 
GeneralRe: I rest my case ... Pin
PIEBALDconsult13-Apr-22 3:03
mvePIEBALDconsult13-Apr-22 3:03 
GeneralRe: I rest my case ... Pin
honey the codewitch12-Apr-22 19:05
mvahoney the codewitch12-Apr-22 19:05 
GeneralRe: I rest my case ... Pin
Dan Neely13-Apr-22 3:19
Dan Neely13-Apr-22 3:19 
GeneralRe: I rest my case ... Pin
enhzflep14-Apr-22 15:23
enhzflep14-Apr-22 15:23 
GeneralWordle Hurdle Pin
Vivi Chellappa12-Apr-22 11:21
professionalVivi Chellappa12-Apr-22 11:21 
GeneralRe: Wordle Hurdle Pin
Amarnath S12-Apr-22 14:07
professionalAmarnath S12-Apr-22 14:07 
GeneralRe: Wordle Hurdle Pin
Peter_in_278012-Apr-22 15:52
professionalPeter_in_278012-Apr-22 15:52 
GeneralRe: Wordle Hurdle Pin
OriginalGriff12-Apr-22 20:01
mveOriginalGriff12-Apr-22 20:01 
GeneralRe: Wordle Hurdle Pin
den2k8812-Apr-22 20:51
professionalden2k8812-Apr-22 20:51 
GeneralRe: Wordle Hurdle Pin
Sander Rossel12-Apr-22 20:59
professionalSander Rossel12-Apr-22 20:59 

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.