Click here to Skip to main content
15,914,419 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: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 4:06
mvahoney the codewitch30-Mar-20 4:06 
GeneralRe: OO is not all that and a bag of chips Pin
patvdwal30-Mar-20 4:30
patvdwal30-Mar-20 4:30 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 4:49
mvahoney the codewitch30-Mar-20 4:49 
GeneralRe: OO is not all that and a bag of chips Pin
mark.pi30-Mar-20 11:47
mark.pi30-Mar-20 11:47 
GeneralRe: OO is not all that and a bag of chips Pin
patvdwal30-Mar-20 20:37
patvdwal30-Mar-20 20:37 
PraiseRe: OO is not all that and a bag of chips Pin
KateAshman29-Mar-20 23:38
KateAshman29-Mar-20 23:38 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 4:04
mvahoney the codewitch30-Mar-20 4:04 
GeneralRe: OO is not all that and a bag of chips Pin
Mike Winiberg30-Mar-20 0:12
professionalMike Winiberg30-Mar-20 0:12 
I found much the same - although it was C++ that finally convinced me that OO wasn't 'all that' 8)

After 'objectifying' some intricate real-world code (for an airline/shipping booking system) I realised that in order to get the behaviour of the objects right I was creating what were in effect object 'global' variables that could (due to inheritance) easily get accidentally 'hidden' by a variable with the same name in the dependent module. In other words - because it was a legal thing to do in C++ - variable scope could be overridden without warning (fortunately compilers these days do warn about such things).

When the fiasco that was manipulators (which I used extensively!) hit when going from Ver1 to Ver2, which then got corrected again in Ver3 (FFS!) I decided that C++ and its vision of OO was getting far more complex and difficult to manage correctly (for me anyway - my failing perhaps, not the language itself?) that I switched to Java for my next OO projects. Very verbose cf C++ but much more stable at the level I was using.

However, other programmers of long-standing who I respect have gradually formed similar views to mine about OO and C++ in particular so I don't feel too downhearted. 8)

Quite by chance all my work now is in either Visual Basic for Applications (Access), SQL Server or Python, so go figure! If I had to go back to something close to the machine I would almost certainly go for C rather than C++ (or maybe Go etc).
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 4:03
mvahoney the codewitch30-Mar-20 4:03 
GeneralRe: OO is not all that and a bag of chips Pin
mark.pi30-Mar-20 11:50
mark.pi30-Mar-20 11:50 
GeneralRe: OO is not all that and a bag of chips Pin
Stuart Dootson30-Mar-20 0:20
professionalStuart Dootson30-Mar-20 0:20 
GeneralRe: OO is not all that and a bag of chips Pin
kalberts30-Mar-20 0:45
kalberts30-Mar-20 0:45 
GeneralRe: OO is not all that and a bag of chips Pin
Jeroen_R30-Mar-20 1:26
Jeroen_R30-Mar-20 1:26 
GeneralRe: OO is not all that and a bag of chips Pin
obermd30-Mar-20 3:29
obermd30-Mar-20 3:29 
GeneralRe: OO is not all that and a bag of chips Pin
BryanFazekas30-Mar-20 4:02
BryanFazekas30-Mar-20 4:02 
GeneralRe: OO is not all that and a bag of chips Pin
Bitbeisser30-Mar-20 6:00
Bitbeisser30-Mar-20 6:00 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 8:15
mvahoney the codewitch30-Mar-20 8:15 
GeneralRe: OO is not all that and a bag of chips Pin
Gary R. Wheeler30-Mar-20 16:44
Gary R. Wheeler30-Mar-20 16:44 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch30-Mar-20 17:29
mvahoney the codewitch30-Mar-20 17:29 
GeneralRe: OO is not all that and a bag of chips Pin
rjmoses31-Mar-20 1:00
professionalrjmoses31-Mar-20 1:00 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch31-Mar-20 12:09
mvahoney the codewitch31-Mar-20 12:09 
GeneralHerself is watching TV... Pin
OriginalGriff28-Mar-20 12:37
mveOriginalGriff28-Mar-20 12:37 
GeneralRe: Herself is watching TV... Pin
CodeWraith28-Mar-20 14:16
CodeWraith28-Mar-20 14:16 
GeneralRe: Herself is watching TV... Pin
Richard MacCutchan28-Mar-20 22:49
mveRichard MacCutchan28-Mar-20 22:49 
GeneralRe: Herself is watching TV... Pin
DRHuff29-Mar-20 12:10
DRHuff29-Mar-20 12:10 

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.