OOP is a construct of oppression installed by the burgoise

8 months ago by da_cow (she/her) to c/programmer_humor

ms_lane 99 points 8 months ago

replaces Classes with Functions

code is still parsed from the top down and some functions are more privileged than others

It's just like Lenin wanted!

path: 0 22188407, hotness: undefined, score: 99, children: 1
Juice 31 points 8 months ago

The Comintern has reviewed this comment and found it quite funny

path: 0 22188407 22190623, hotness: undefined, score: 31, children: 0
jjjalljs 75 points 8 months ago

Sometimes I still see job postings that are like "MUST KNOW OBJECT ORIENTED PROGRAMMING" and I'm wondering who in 2026 isn't at least passably familiar with it.

But then again I also see job posts that are like "must know Java or JavaScript"

path: 0 22189190, hotness: undefined, score: 75, children: 6
favoredponcho 32 points 8 months ago
path: 0 22189190 22190281, hotness: undefined, score: 32, children: 4
marcos 24 points 8 months ago

What is not clear is if the software development division updated their practices.

path: 0 22189190 22190281 22192205, hotness: undefined, score: 24, children: 1
MirrorGiraffe 5 points 8 months ago

Exactly, if there's even the slightest risk that I'll need to dust off the good ol ajax that's a nope from me.

path: 0 22189190 22190281 22192205 22195919, hotness: undefined, score: 5, children: 0
bestboyfriendintheworld 4 points 8 months ago

Thereโ€™s a lot of legacy stuff around. I saw some CORBA in the wild recently.

path: 0 22189190 22190281 22215054, hotness: undefined, score: 4, children: 0
irelephant 1 point 8 months ago
path: 0 22189190 22190281 22258796, hotness: undefined, score: 1, children: 0
ThirdConsul 5 points 8 months ago

Considering most people only know procedural programming and are calling it functional/objective...

path: 0 22189190 22218211, hotness: undefined, score: 5, children: 0
red_tomato 47 points 8 months ago

Seize the means of prod!

path: 0 22189233, hotness: undefined, score: 47, children: 4
xep 21 points 8 months ago

Or just prod! Seize prod

path: 0 22189233 22190947, hotness: undefined, score: 21, children: 3
squaresinger 14 points 8 months ago

Deploy broken code straight to prod?

path: 0 22189233 22190947 22194700, hotness: undefined, score: 14, children: 2
cows_are_underrated 14 points 8 months ago

Testing is for those who are not confident in their programming skills.

path: 0 22189233 22190947 22194700 22195536, hotness: undefined, score: 14, children: 1
Zos_Kia 5 points 8 months ago

testing is doubting

path: 0 22189233 22190947 22194700 22195536 22218591, hotness: undefined, score: 5, children: 0
a14o 31 points 8 months ago

Object.property = theft;

path: 0 22192146, hotness: undefined, score: 31, children: 1
entwine 12 points 8 months ago

sieze(worker, ObjectFactory.meansOfProduction);

path: 0 22192146 22193389, hotness: undefined, score: 12, children: 0
ZomieChicken 28 points 8 months ago

Or do as Alan Kay wants and start calling it "Message-Oriented Programming".

"I'm sorry that I long ago coined the term "objects" for this topic because it gets many people to focus on the lesser idea. The big idea is "messaging"."

https://lists.squeakfoundation.org/...

path: 0 22190682, hotness: undefined, score: 28, children: 6
entwine 8 points 8 months ago

I still get sad when I think about Objective C and how it didn't take off vs C++ just because it had ugly syntax (which becomes beautiful once you understand why it is the way it is)

path: 0 22190682 22193623, hotness: undefined, score: 8, children: 3
bestboyfriendintheworld 4 points 8 months ago

Iโ€™m still mad at Apple for making Swift instead of Objective-C 3.0. It was such a powerful and small language.

C++ has a billion features and Swift is getting more every year.

Objective-C was fast to compile, great in a debugger, and allowed lots of creativity and patching broken system components.

Lots of great software was written with it. CocoaBindings are magical.

path: 0 22190682 22193623 22215125, hotness: undefined, score: 4, children: 0
plyth 4 points 8 months ago

Why is it the way it is?

path: 0 22190682 22193623 22196480, hotness: undefined, score: 4, children: 1
entwine 6 points 8 months ago

Both C++ and Objective-C aimed to be "C with classes". C++ does it by hijacking existing syntax (struct), Objective-C does it by adding new syntax, while leaving the original minimalism of C untouched.

In fact, it's a strict superset of C, which means it doesn't change anything at all in C, it only appends. So every valid C program is a valid Objective C program (which is not true for C++).

You know how some C programs are valid C++ programs though? Well, those same programs can use Objective C features too, meaning you're able to use them in C++... Meaning you're able to code in "Objective C++" (which is very common for interop purposes)

path: 0 22190682 22193623 22196480 22197901, hotness: undefined, score: 6, children: 0
presoak 2 points 8 months ago

I skimmed that.

So you've got a bunch of message transceivers (aka objects). And the magic is in the message soup.

Yes?

path: 0 22190682 22218067, hotness: undefined, score: 2, children: 1
ZomieChicken 1 point 8 months ago

From my understanding, yes. Personally, I've seen so many different definitions of "OOP" (most of which were incoherent), I developed my own definition of what an 'object' is, and just go on with life.

path: 0 22190682 22218067 22218508, hotness: undefined, score: 1, children: 0
Lili_Thana 11 points 8 months ago

Fuck OOP all my homies use DOD.

path: 0 22194273, hotness: undefined, score: 11, children: 3
pipe01 12 points 8 months ago

Department of defense?

path: 0 22194273 22195036, hotness: undefined, score: 12, children: 2
SexualPolytope 9 points 8 months ago

It's DoW now, baby. And apparently, it's over 50,000!

path: 0 22194273 22195036 22197695, hotness: undefined, score: 9, children: 0
Lili_Thana 8 points 8 months ago path: 0 22194273 22195036 22195715, hotness: undefined, score: 8, children: 0
Bazell 3 points 8 months ago

And then the code has removed your whole database.

path: 0 22197341, hotness: undefined, score: 3, children: 0
Juice 3 points 8 months ago

This but unironically

path: 0 22190647, hotness: undefined, score: 3, children: 0
rain_worl 0 points 8 months ago

in scheme, everything* is first class!
*i haven't checked

path: 0 22404295, hotness: undefined, score: 0, children: 0
programmer_humor
programmer_humor

@programming.dev

login for more options
33644
2565
7638

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
    • If the mod doesn't find it funny, you're banned. Ha-ha!... For real: do not use the community for "statements". There are other places for such content. Keep it chill and funny.

go to feed...