Click here to Skip to main content
15,886,199 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: Wordle 457 Pin
Amarnath S18-Sep-22 20:01
professionalAmarnath S18-Sep-22 20:01 
GeneralRe: Wordle 457 Pin
Sander Rossel18-Sep-22 21:05
professionalSander Rossel18-Sep-22 21:05 
GeneralRe: Wordle 457 Pin
den2k8818-Sep-22 21:12
professionalden2k8818-Sep-22 21:12 
GeneralRe: Wordle 457 - 3 for me Pin
pkfox18-Sep-22 21:13
professionalpkfox18-Sep-22 21:13 
GeneralRe: Wordle 457 Pin
Cp-Coder19-Sep-22 1:26
Cp-Coder19-Sep-22 1:26 
GeneralRe: Wordle 457 Pin
FreedMalloc19-Sep-22 7:14
FreedMalloc19-Sep-22 7:14 
GeneralRe: Wordle 457 Pin
jmaida19-Sep-22 8:20
jmaida19-Sep-22 8:20 
QuestionNavel gazing on coding style? Pin
honey the codewitch17-Sep-22 23:29
mvahoney the codewitch17-Sep-22 23:29 
I wonder how many of us do it? I do.

I frequently mentally compare code I see with what I would have written myself, and I do so not to critique other people's code (though it happens) so much as to understand myself and the way I write. Introspection after all, isn't automatic, be it with code or otherwise.

I've noticed some pretty interesting things in the process. I don't know how much the activity has actually influenced my coding style. The biggest change to the way I code that has ever happened to me happened in 2018. I don't solve problems by breaking them into their component pieces anymore. I attack problems more ... holistically? now. It generally makes for efficient, but less intelligible code. The way I think changed. Some ways for the better, other ways not, but it impacted how I write software, among other things.

Cons: Compared to much of the code I see in the wild, my functions are long, my solutions aren't as readable, some things are so instinctual to me I forget to comment.

Pros: My code generally works, and does so well when it does. In some ways, cutting down on the abstractions leads to simpler code, or at least the surface area/API of said code is simpler, if I'm making a library for example.

I see the above as a net win, but only marginally so, and maybe most of that small net advantage can be chalked up to natural, incremental evolution rather than my 2018 watershed event.

I enjoy thinking about this stuff, but I'm not sure if it's beneficial, or me just passing time.

Your thoughts?
To err is human. Fortune favors the monsters.

AnswerRe: Navel gazing on coding style? Pin
Greg Utas18-Sep-22 1:34
professionalGreg Utas18-Sep-22 1:34 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 1:38
mvahoney the codewitch18-Sep-22 1:38 
GeneralRe: Navel gazing on coding style? Pin
sasadler19-Sep-22 6:24
sasadler19-Sep-22 6:24 
GeneralRe: Navel gazing on coding style? Pin
jmaida18-Sep-22 14:45
jmaida18-Sep-22 14:45 
AnswerRe: Navel gazing on coding style? PinPopular
Daniel Pfeffer18-Sep-22 2:02
professionalDaniel Pfeffer18-Sep-22 2:02 
GeneralRe: Navel gazing on coding style? Pin
Greg Utas18-Sep-22 3:32
professionalGreg Utas18-Sep-22 3:32 
GeneralRe: Navel gazing on coding style? Pin
DRHuff18-Sep-22 4:34
DRHuff18-Sep-22 4:34 
GeneralRe: Navel gazing on coding style? Pin
Daniel Pfeffer18-Sep-22 5:56
professionalDaniel Pfeffer18-Sep-22 5:56 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 5:13
mvahoney the codewitch18-Sep-22 5:13 
GeneralRe: Navel gazing on coding style? Pin
Daniel Pfeffer18-Sep-22 5:48
professionalDaniel Pfeffer18-Sep-22 5:48 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 5:59
mvahoney the codewitch18-Sep-22 5:59 
GeneralRe: Navel gazing on coding style? Pin
megaadam18-Sep-22 12:51
professionalmegaadam18-Sep-22 12:51 
GeneralRe: Navel gazing on coding style? Pin
honey the codewitch18-Sep-22 13:18
mvahoney the codewitch18-Sep-22 13:18 
GeneralRe: Navel gazing on coding style? Pin
megaadam18-Sep-22 13:23
professionalmegaadam18-Sep-22 13:23 
AnswerRe: Navel gazing on coding style? Pin
Mircea Neacsu18-Sep-22 2:05
Mircea Neacsu18-Sep-22 2:05 
GeneralRe: Navel gazing on coding style? Pin
Greg Utas18-Sep-22 3:34
professionalGreg Utas18-Sep-22 3:34 
GeneralRe: Navel gazing on coding style? Pin
0x01AA18-Sep-22 4:40
mve0x01AA18-Sep-22 4:40 

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.