Click here to Skip to main content
15,892,480 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
CodeWraith28-Mar-20 14:08
CodeWraith28-Mar-20 14:08 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch28-Mar-20 14:42
mvahoney the codewitch28-Mar-20 14:42 
GeneralRe: OO is not all that and a bag of chips Pin
Mircea Neacsu28-Mar-20 15:48
Mircea Neacsu28-Mar-20 15:48 
PraiseRe: OO is not all that and a bag of chips Pin
Greg Utas28-Mar-20 15:56
professionalGreg Utas28-Mar-20 15:56 
GeneralRe: OO is not all that and a bag of chips Pin
Super Lloyd28-Mar-20 16:32
Super Lloyd28-Mar-20 16:32 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch28-Mar-20 16:35
mvahoney the codewitch28-Mar-20 16:35 
GeneralRe: OO is not all that and a bag of chips Pin
Super Lloyd28-Mar-20 16:43
Super Lloyd28-Mar-20 16:43 
GeneralRe: OO is not all that and a bag of chips Pin
Martin ISDN28-Mar-20 20:50
Martin ISDN28-Mar-20 20:50 
Disclaimer: The Big Brother is watching you! There was a time when at least you could lose your job for such claims, at worst you could have get killed by an angry mob of mostly rookie developers who want to show of.

I remember how much impressed I was with multiple inheritance, assignment overloading and copy constructors... One day I realized what I have always known as a kid. Programming is data processing.

"in C++ as in Simula a class is a user defined type."
"Every language that uses the word class, for type, is a descendent of Simula"
Bjarne Stroustrup

They should have called OOP - class oriented developing, because it's appealing to class obsessed chauvinists. Contrary to popular belief, objects are only data. You could have a pointer to an array of pointers to functions here and there or a reference to a function, but that's data too.

No matter what language you use it all gets down to the same assembly language. Even before that, in the compilation process, programs are translated to a common language neutral data representation.

So, for EVERY program in Java you could write a program in C that gets translated into the same assembly code the CPU will execute. But, you could hardly write a Java program for ANY C program that will be translated into the same assembly code.

"The very first Java compiler was developed by Sun Microsystems and was written in C using some libraries from C++. Today, the Java compiler is written in Java, while the JRE is written in C."
"The Sun JVM is written in C"
Provided as is from Stackoverflow.

C implements Java, but Java cannot implement C.

Back to topic, this is what I find most appealing.

"We don’t have a mathematical model for OOP. We have Turing machines for imperative (procedural) programming, lambda-calculus for functional programming and even pi-calculus (and CSP by C.A.R. Hoare again and other variations) for event-based and distributed programming, but nothing for OOP. So the question of “what is a ‘correct’ OO program?”, cannot even be defined; (much less, the answer to that question.)"

It was given as an answer at Quora to the question 'Why did Dijkstra say that “Object-oriented programming is an exceptionally bad idea which could only have originated in California.?"'

Greetings.

GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 1:36
mvahoney the codewitch29-Mar-20 1:36 
GeneralRe: OO is not all that and a bag of chips Pin
Greg Utas29-Mar-20 2:05
professionalGreg Utas29-Mar-20 2:05 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 2:21
mvahoney the codewitch29-Mar-20 2:21 
GeneralRe: OO is not all that and a bag of chips Pin
Mark_Wallace28-Mar-20 21:07
Mark_Wallace28-Mar-20 21:07 
JokeRe: OO is not all that and a bag of chips Pin
Sander Rossel29-Mar-20 1:22
professionalSander Rossel29-Mar-20 1:22 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 1:31
mvahoney the codewitch29-Mar-20 1:31 
GeneralRe: OO is not all that and a bag of chips Pin
Sander Rossel29-Mar-20 2:22
professionalSander Rossel29-Mar-20 2:22 
GeneralRe: OO is not all that and a bag of chips Pin
Member 1477477029-Mar-20 4:17
Member 1477477029-Mar-20 4:17 
GeneralRe: OO is not all that and a bag of chips Pin
Nelek29-Mar-20 4:33
protectorNelek29-Mar-20 4:33 
GeneralRe: OO is not all that and a bag of chips Pin
Rick York29-Mar-20 11:15
mveRick York29-Mar-20 11:15 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 5:58
mvahoney the codewitch29-Mar-20 5:58 
GeneralRe: OO is not all that and a bag of chips Pin
W Balboos, GHB29-Mar-20 11:18
W Balboos, GHB29-Mar-20 11:18 
GeneralRe: OO is not all that and a bag of chips Pin
Martin ISDN29-Mar-20 13:27
Martin ISDN29-Mar-20 13:27 
GeneralRe: OO is not all that and a bag of chips Pin
CPallini29-Mar-20 20:57
mveCPallini29-Mar-20 20:57 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 21:34
mvahoney the codewitch29-Mar-20 21:34 
GeneralRe: OO is not all that and a bag of chips Pin
CPallini29-Mar-20 21:37
mveCPallini29-Mar-20 21:37 
GeneralRe: OO is not all that and a bag of chips Pin
honey the codewitch29-Mar-20 21:40
mvahoney the codewitch29-Mar-20 21:40 

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.