Click here to Skip to main content
15,887,477 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
jochance7-Nov-23 3:30
jochance7-Nov-23 3:30 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch7-Nov-23 4:10
mvahoney the codewitch7-Nov-23 4:10 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
jochance7-Nov-23 4:19
jochance7-Nov-23 4:19 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch7-Nov-23 4:38
mvahoney the codewitch7-Nov-23 4:38 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
jschell7-Nov-23 6:03
jschell7-Nov-23 6:03 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Dan Sutton7-Nov-23 3:30
Dan Sutton7-Nov-23 3:30 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Andreas Mertens7-Nov-23 4:57
professionalAndreas Mertens7-Nov-23 4:57 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
klinkenbecker7-Nov-23 3:37
klinkenbecker7-Nov-23 3:37 
To a large extent the 'normalization' of classes is akin to the normalization of data records.

The atomic characteristics of a class, that would drive application decomposition (and vice versa), can vary between applications.

Thus a useful class decomposition in one instance can be a dogs breakfast in another.

There is a similar problem when looking at communications protocols - doctrine dictates multiple layers but these can severely impede and bloat small systems. As humans show every moment, it is possible to communicate without layers (with varying degrees of success), particularly when context is available. For humans effective communication is possible even when the context is ambiguous.

For myself, I have classes that do the equivalent of 'ReadTextFile' or 'ReadComPort' - these typically act as base class for different types of parser such that the data is transformed in some way into an easily digestible form for another part of the app.

Whereas one may aspire to a 'universal' set of pattern classes, their utility will generally boil down to adaptation within specific application constraints.
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Steve Naidamast7-Nov-23 4:18
professionalSteve Naidamast7-Nov-23 4:18 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
megaadam7-Nov-23 4:35
professionalmegaadam7-Nov-23 4:35 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch7-Nov-23 4:36
mvahoney the codewitch7-Nov-23 4:36 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
MSBassSinger7-Nov-23 4:53
professionalMSBassSinger7-Nov-23 4:53 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
StatementTerminator7-Nov-23 5:04
StatementTerminator7-Nov-23 5:04 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
honey the codewitch7-Nov-23 5:22
mvahoney the codewitch7-Nov-23 5:22 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Tiger125067-Nov-23 7:43
Tiger125067-Nov-23 7:43 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Roger Wright7-Nov-23 13:12
professionalRoger Wright7-Nov-23 13:12 
GeneralRe: OOP and the scope of a class, am I wrong? Pin
Ralf Quint8-Nov-23 12:28
Ralf Quint8-Nov-23 12:28 
GeneralMedievalist Coding Movement? Pin
raddevus6-Nov-23 4:49
mvaraddevus6-Nov-23 4:49 
GeneralRe: Medievalist Coding Movement? Pin
Maximilien6-Nov-23 5:06
Maximilien6-Nov-23 5:06 
JokeRe: Medievalist Coding Movement? Pin
Daniel Pfeffer6-Nov-23 5:27
professionalDaniel Pfeffer6-Nov-23 5:27 
GeneralRe: Medievalist Coding Movement? Pin
Nagy Vilmos6-Nov-23 5:40
professionalNagy Vilmos6-Nov-23 5:40 
GeneralRe: Medievalist Coding Movement? Pin
Dave Kreskowiak6-Nov-23 6:32
mveDave Kreskowiak6-Nov-23 6:32 
GeneralRe: Medievalist Coding Movement? Pin
fgs19636-Nov-23 7:29
fgs19636-Nov-23 7:29 
GeneralRe: Medievalist Coding Movement? Pin
Nelek6-Nov-23 8:40
protectorNelek6-Nov-23 8:40 
GeneralRe: Medievalist Coding Movement? Pin
Gerry Schmitz6-Nov-23 8:07
mveGerry Schmitz6-Nov-23 8:07 

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.