Click here to Skip to main content
15,886,919 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: OOP and the scope of a class, am I wrong? Pin
Gerry Schmitz6-Nov-23 11:16
mveGerry Schmitz6-Nov-23 11:16 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch6-Nov-23 11:36
mvahoney the codewitch6-Nov-23 11:36 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
raddevus7-Nov-23 9:23
mvaraddevus7-Nov-23 9:23 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch7-Nov-23 10:53
mvahoney the codewitch7-Nov-23 10:53 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
jschell6-Nov-23 10:56
jschell6-Nov-23 10:56 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch6-Nov-23 12:35
mvahoney the codewitch6-Nov-23 12:35 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
jschell7-Nov-23 5:51
jschell7-Nov-23 5:51 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
dandy726-Nov-23 10:56
dandy726-Nov-23 10:56 
I used to work with a guy who did so much refactoring that most of his functions came down to one-liners, and all of his classes were focused to an extreme, to the point of being responsible for a single action.

Looking at individual classes/functions one-by-one, his code became trivial to read, but the problem this introduced is that there were so many tiny single-purpose classes, the whole thing grew to have the opposite effect and became an unmanageable mess. He understood it very well. But the rest of the team spent way too much time jumping through endless class definitions, trying to find where the real work was being done.

I'm hoping those professors aren't following that model.
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Gerry Schmitz6-Nov-23 11:28
mveGerry Schmitz6-Nov-23 11:28 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Amarnath S6-Nov-23 12:48
professionalAmarnath S6-Nov-23 12:48 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Dave Kreskowiak6-Nov-23 15:01
mveDave Kreskowiak6-Nov-23 15:01 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
PIEBALDconsult6-Nov-23 15:47
mvePIEBALDconsult6-Nov-23 15:47 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Dave Kreskowiak6-Nov-23 16:24
mveDave Kreskowiak6-Nov-23 16:24 
JokeRe: OOP and the scope of a class, am I wrong? Pin
englebart6-Nov-23 15:48
professionalenglebart6-Nov-23 15:48 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
PIEBALDconsult6-Nov-23 15:56
mvePIEBALDconsult6-Nov-23 15:56 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Christian Graus6-Nov-23 19:56
protectorChristian Graus6-Nov-23 19:56 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
giulicard6-Nov-23 21:02
giulicard6-Nov-23 21:02 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Kornfeld Eliyahu Peter6-Nov-23 21:06
professionalKornfeld Eliyahu Peter6-Nov-23 21:06 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch6-Nov-23 22:04
mvahoney the codewitch6-Nov-23 22:04 
JokeRe: OOP and the scope of a class, am I wrong? Pin
Richard Deeming6-Nov-23 21:35
mveRichard Deeming6-Nov-23 21:35 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Ravi Bhavnani6-Nov-23 22:19
professionalRavi Bhavnani6-Nov-23 22:19 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch6-Nov-23 22:20
mvahoney the codewitch6-Nov-23 22:20 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Mark Quennell6-Nov-23 22:58
Mark Quennell6-Nov-23 22:58 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
DT Bullock7-Nov-23 1:13
DT Bullock7-Nov-23 1:13 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
jschell7-Nov-23 5:55
jschell7-Nov-23 5:55 

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.