Click here to Skip to main content
15,891,473 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.

 
AnswerRe: code sexiness question Pin
HobbyProggy29-Nov-21 20:30
professionalHobbyProggy29-Nov-21 20:30 
GeneralRe: code sexiness question Pin
Super Lloyd29-Nov-21 20:34
Super Lloyd29-Nov-21 20:34 
GeneralRe: code sexiness question Pin
HobbyProggy29-Nov-21 21:06
professionalHobbyProggy29-Nov-21 21:06 
GeneralRe: code sexiness question Pin
Super Lloyd29-Nov-21 21:17
Super Lloyd29-Nov-21 21:17 
GeneralRe: code sexiness question Pin
HobbyProggy29-Nov-21 21:53
professionalHobbyProggy29-Nov-21 21:53 
AnswerRe: code sexiness question Pin
honey the codewitch29-Nov-21 21:22
mvahoney the codewitch29-Nov-21 21:22 
GeneralRe: code sexiness question Pin
Super Lloyd29-Nov-21 22:28
Super Lloyd29-Nov-21 22:28 
GeneralRe: code sexiness question Pin
honey the codewitch29-Nov-21 22:54
mvahoney the codewitch29-Nov-21 22:54 
Understandable. I can't stand code reviews myself, because I have some different philosophies about how code needs to be written than a lot of people I have worked with.

However, when I am in a position where I am in charge of code reviews, I tend to go easy and stick to enforcing in-shop style guidelines more than anything.

I don't care about fast for bizdev unless something is slow enough you want to get out and push. I would have accepted either version of your code.

I think both are readable *enough* - and this is one of the areas where I differ with a lot of people. I don't spend as much time chasing readability as other coders. I like to look at cognitive load more than readability, because I feel like readability can be had by reading the complicated parts of a function more than once. The trick is in *understanding* what you've read. That's the part where I care, but also the part I'm not great at. One of the reasons I write here is to try to improve my skillset in terms of making my code understandable. My functions are too long, but that's due to some cognitive issues I have myself, and it's part of how I've adapted to them.
Real programmers use butterflies

AnswerRe: code sexiness question Pin
Daniele Rota Nodari29-Nov-21 21:52
Daniele Rota Nodari29-Nov-21 21:52 
AnswerRe: code sexiness question Pin
Richard Deeming29-Nov-21 22:01
mveRichard Deeming29-Nov-21 22:01 
GeneralRe: code sexiness question Pin
Super Lloyd29-Nov-21 22:22
Super Lloyd29-Nov-21 22:22 
GeneralRe: code sexiness question Pin
Richard Deeming29-Nov-21 22:34
mveRichard Deeming29-Nov-21 22:34 
GeneralRe: code sexiness question Pin
Super Lloyd29-Nov-21 22:39
Super Lloyd29-Nov-21 22:39 
GeneralRe: code sexiness question Pin
Daniel Pfeffer29-Nov-21 22:26
professionalDaniel Pfeffer29-Nov-21 22:26 
GeneralRe: code sexiness question Pin
Richard Deeming29-Nov-21 22:35
mveRichard Deeming29-Nov-21 22:35 
GeneralRe: code sexiness question Pin
snorkie30-Nov-21 3:08
professionalsnorkie30-Nov-21 3:08 
AnswerRe: code sexiness question Pin
OriginalGriff29-Nov-21 22:38
mveOriginalGriff29-Nov-21 22:38 
GeneralRe: code sexiness question Pin
Richard Deeming29-Nov-21 22:54
mveRichard Deeming29-Nov-21 22:54 
GeneralRe: code sexiness question Pin
OriginalGriff29-Nov-21 23:22
mveOriginalGriff29-Nov-21 23:22 
AnswerRe: code sexiness question Pin
11917640 Member 30-Nov-21 0:19
11917640 Member 30-Nov-21 0:19 
GeneralRe: code sexiness question Pin
Andre_Prellwitz2-Dec-21 5:07
Andre_Prellwitz2-Dec-21 5:07 
AnswerRe: code sexiness question Pin
Gerry Schmitz30-Nov-21 10:55
mveGerry Schmitz30-Nov-21 10:55 
GeneralRe: code sexiness question Pin
Andre_Prellwitz2-Dec-21 12:12
Andre_Prellwitz2-Dec-21 12:12 
AnswerRe: code sexiness question Pin
Gary R. Wheeler30-Nov-21 12:02
Gary R. Wheeler30-Nov-21 12:02 
AnswerRe: code sexiness question Pin
Fueled By Decaff1-Dec-21 3:02
Fueled By Decaff1-Dec-21 3:02 

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.