Click here to Skip to main content
15,893,923 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: i don't like object oriented programming Pin
Eddy Vluggen30-Jul-19 12:06
professionalEddy Vluggen30-Jul-19 12:06 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 12:15
mvahoney the codewitch30-Jul-19 12:15 
GeneralRe: i don't like object oriented programming Pin
Eddy Vluggen31-Jul-19 0:39
professionalEddy Vluggen31-Jul-19 0:39 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:22
mvahoney the codewitch31-Jul-19 1:22 
GeneralRe: i don't like object oriented programming Pin
PIEBALDconsult30-Jul-19 12:00
mvePIEBALDconsult30-Jul-19 12:00 
GeneralRe: i don't like object oriented programming Pin
Eddy Vluggen30-Jul-19 12:07
professionalEddy Vluggen30-Jul-19 12:07 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 12:16
mvahoney the codewitch30-Jul-19 12:16 
GeneralRe: i don't like object oriented programming Pin
kalberts30-Jul-19 14:11
kalberts30-Jul-19 14:11 
I learned OO before it was (generally) known. I didn't learn it by that name.

Our "101 Programming" course was based on Pascal. The professor insisted that we wrote sets of functions for each RECORD definition, for handling that record type. He also insisted that these fuctions took as their first argument the specific record instance to be operated on. We learned it as a good way to handle the information in a managable way. It was similar to his other requirements: Function arguments should list the read-only inputs first, then the read-write, then the pure results. Every function/subroutine should first check all input data, then do the work, then produce the side effects.

We learned that as a valuable discipline. We never questioned it, and today I can't give a single argument why we should have.

Then came OO, and we moved the first function argument before the function name, with a full stop inbetween. Fair enough - "a new programming paradigm", or "syntactical sugar", call it whatever you want.

At the University, we got hold of one of the very first C++ compilers, translating everything to K&R C, so we could see what OO really is - and said: So what? Isn't that what we have been doing all the time, more or less? There were some extensions, of course, but not that revolutionary.

I got my first job, in a company writing their own OS for their own minis and superminis, written in a langugage midway between plain C and assembler. What did I see? Those OS programmers had created the same kind of "OO" structures at near-assembly level, very similar to what I had seen in the C++-to-C translations, with class objects and inheritance with subclasses and superclasses and function tables and whathaveyou. (No multiple inheritance, but that is a concept that is highly debated anyway.)

When I, as the novice with academic ideas, tried to tell them that "This is exactly like OO programming", they didn't grasp the idea, at the academic level. It was just the proper way to do it. Similar to the way it was thought in my first "101 Programming" course.

So I never managed to build up any negative relationship to OO. Only to those programmers who insist that there is One OO Way, or demand that you must use every single OO feature in your program, now matter how primmitive the program is.

Maybe I am too relaxed. That allows me to pick from OO what is usable in a given case, and ignore the rest. I think that is good.
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 14:17
mvahoney the codewitch30-Jul-19 14:17 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:25
Super Lloyd30-Jul-19 16:25 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 16:30
mvahoney the codewitch30-Jul-19 16:30 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:38
Super Lloyd30-Jul-19 16:38 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 16:40
mvahoney the codewitch30-Jul-19 16:40 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 16:53
Super Lloyd30-Jul-19 16:53 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:03
mvahoney the codewitch30-Jul-19 17:03 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:07
mvahoney the codewitch30-Jul-19 17:07 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 17:23
Super Lloyd30-Jul-19 17:23 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:25
mvahoney the codewitch30-Jul-19 17:25 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 17:34
Super Lloyd30-Jul-19 17:34 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch30-Jul-19 17:34
mvahoney the codewitch30-Jul-19 17:34 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd30-Jul-19 18:07
Super Lloyd30-Jul-19 18:07 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 1:29
mvahoney the codewitch31-Jul-19 1:29 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 2:05
Super Lloyd31-Jul-19 2:05 
GeneralRe: i don't like object oriented programming Pin
honey the codewitch31-Jul-19 2:17
mvahoney the codewitch31-Jul-19 2:17 
GeneralRe: i don't like object oriented programming Pin
Super Lloyd31-Jul-19 3:13
Super Lloyd31-Jul-19 3:13 

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.