Click here to Skip to main content
15,892,005 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: Dash cams - is this a record? Pin
Rage1-Dec-21 0:59
professionalRage1-Dec-21 0:59 
GeneralRe: Dash cams - is this a record? Pin
Cp-Coder1-Dec-21 3:15
Cp-Coder1-Dec-21 3:15 
GeneralRe: Dash cams - is this a record? Pin
OriginalGriff1-Dec-21 3:59
mveOriginalGriff1-Dec-21 3:59 
GeneralRe: Dash cams - is this a record? Pin
Cp-Coder1-Dec-21 4:18
Cp-Coder1-Dec-21 4:18 
GeneralFor how much time I spend navel gazing about the way I code Pin
honey the codewitch29-Nov-21 23:36
mvahoney the codewitch29-Nov-21 23:36 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
HobbyProggy29-Nov-21 23:49
professionalHobbyProggy29-Nov-21 23:49 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch29-Nov-21 23:52
mvahoney the codewitch29-Nov-21 23:52 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Greg Utas30-Nov-21 2:48
professionalGreg Utas30-Nov-21 2:48 
HobbyProggy wrote:
Regarding SOC or breaking down problems, my approach is to solve the issue inside one function and as soon as i have to reuse parts of it i break them down, or if i want to add some good bunch of unit tests.
What does SOC stand for?

Regardless, I break down functions in much the same way as you. I don't have a problem with long ones. But I'll break a fragment out if it exists elsewhere and can therefore be shared, which means the code can slowly evolve into lots of small functions. If it can't be shared, I'll break it out if it definitely simplifies the flow of control. And because I greatly favor tests that are broader than unit tests, unit tests don't influence the decision.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: For how much time I spend navel gazing about the way I code Pin
HobbyProggy30-Nov-21 3:01
professionalHobbyProggy30-Nov-21 3:01 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Greg Utas30-Nov-21 3:19
professionalGreg Utas30-Nov-21 3:19 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
pkfox29-Nov-21 23:49
professionalpkfox29-Nov-21 23:49 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch29-Nov-21 23:56
mvahoney the codewitch29-Nov-21 23:56 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
pkfox30-Nov-21 1:36
professionalpkfox30-Nov-21 1:36 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Kornfeld Eliyahu Peter29-Nov-21 23:55
professionalKornfeld Eliyahu Peter29-Nov-21 23:55 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch30-Nov-21 0:00
mvahoney the codewitch30-Nov-21 0:00 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Mircea Neacsu30-Nov-21 1:26
Mircea Neacsu30-Nov-21 1:26 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Kornfeld Eliyahu Peter30-Nov-21 1:51
professionalKornfeld Eliyahu Peter30-Nov-21 1:51 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Greg Utas30-Nov-21 4:59
professionalGreg Utas30-Nov-21 4:59 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch30-Nov-21 5:02
mvahoney the codewitch30-Nov-21 5:02 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Greg Utas30-Nov-21 5:25
professionalGreg Utas30-Nov-21 5:25 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch30-Nov-21 5:27
mvahoney the codewitch30-Nov-21 5:27 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch30-Nov-21 6:17
mvahoney the codewitch30-Nov-21 6:17 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Greg Utas30-Nov-21 6:31
professionalGreg Utas30-Nov-21 6:31 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
honey the codewitch30-Nov-21 6:35
mvahoney the codewitch30-Nov-21 6:35 
GeneralRe: For how much time I spend navel gazing about the way I code Pin
Gerry Schmitz30-Nov-21 10:36
mveGerry Schmitz30-Nov-21 10:36 

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.