Click here to Skip to main content
14,577,932 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
patvdwal30-Mar-20 20:37
Memberpatvdwal30-Mar-20 20:37 
PraiseRe: OO is not all that and a bag of chips Pin
KateAshman29-Mar-20 23:38
MemberKateAshman29-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 
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
Membermark.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
Member 798912230-Mar-20 0:45
MemberMember 798912230-Mar-20 0:45 
I did OO before there was no OO... (Well, Simula had been around for some years, but the term OO was not yet in use.

The professor teaching my first university level programming course insisted on strict discipline: With a Pascal RECORD definition followed those functions that operated on the record fields; those were the only code allowed to work on the fields - just like OO methods. A record "class" could have variants, "subclasses", etc.

I must admit that I liked the orderly, disciplined way. We didn't know that we did OO; it was just a "best practices" thing to more easily manage the operations on the records.

A couple of years later, I got access to the OS source code for a 16-bit mini, written in a language midway between assembler and C. For the drivers, I saw a class hierarchy: Several subclasses of class objects, with method tables and pointers to superclasses, and then instances objects of these for each device, all hand written, but the same way as the a C++ compiler would lay out its classes and instances. I must admit that I was impressed. By this time, OO was on its way in, so I recognized the OO concepts, but when I mentioned this to the OS developers they didn't get it. That's simply how you write an orderly structure of generic drivers with specializations. OO, what's that?

So I've come to use OO in a fairly lightweight style: To organize similar data and the operations to go with them. Language developers seem to think that every new release of a language simply must include some new "language concepts", some fancy mechanism(s) that can do things in even more abstract, hard-to-grasp ways (maybe "elegant", once you have comprehended it, but often quite far from "obvious" in the way it works). I tend to ignore super-conceptual, super-fancy mechanism; even though they may help you conceptualize the problem solution in your head, it often tends to make the program code more obscure. "That's not a feature, that is a (design) bug!"

Use those OO facilities that make the program code more lucid, better organized. But don't let it obscure your program solution, just because you insist on showing that you master this new concept that was introduced in the last language revision.
GeneralRe: OO is not all that and a bag of chips Pin
Jeroen_R30-Mar-20 1:26
MemberJeroen_R30-Mar-20 1:26 
GeneralRe: OO is not all that and a bag of chips Pin
obermd30-Mar-20 3:29
Memberobermd30-Mar-20 3:29 
GeneralRe: OO is not all that and a bag of chips Pin
BryanFazekas30-Mar-20 4:02
MemberBryanFazekas30-Mar-20 4:02 
GeneralRe: OO is not all that and a bag of chips Pin
Bitbeisser30-Mar-20 6:00
MemberBitbeisser30-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
MemberGary 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
MemberCodeWraith28-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
MemberDRHuff29-Mar-20 12:10 
GeneralRe: Herself is watching TV... Pin
Stefan_Lang31-Mar-20 21:01
mveStefan_Lang31-Mar-20 21:01 
GeneralStay the F*$k at home Pin
Mike Hankey28-Mar-20 11:40
professionalMike Hankey28-Mar-20 11:40 
GeneralRe: Stay the F*$k at home Pin
Tachyonx29-Mar-20 3:08
MemberTachyonx29-Mar-20 3:08 
GeneralRe: Stay the F*$k at home Pin
DerekT-P29-Mar-20 6:53
professionalDerekT-P29-Mar-20 6:53 

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.