THE CYBERIX NETWORK

The sophisticated man's creative playground

THIS IS ME NOT WRITING ANYMORE.

why does everyone hate OOP? I'm a codelet, only been studying Python for 2 mont…

LOUNGE · Back to threads · Report thread

Anonymous · original post · 2026-07-22 21:07:13

>>26085
>I wont write a "real program"
just this was enough to submit your concession

Report · Quote

Anonymous · reply · 2026-07-22 21:07:41

>>26079
>Just absolutely braindead.
Just because you're committed to overusing OOP ideas doesn't mean you're right to dismiss the very simple end of things like that.

Report · Quote

Anonymous · reply · 2026-07-22 21:12:46

>>26086
your comment was enough to let us your brain can't generalize from information

The sadder part is that you can't read because I pointed you what to look for

Go in the retard jail with the runtime-onions-faggot, you two look very similar

Report · Quote

Anonymous · reply · 2026-07-22 21:15:16

>>25903
Interfaces are strongly encouraged because they are soft traits
>no data
>no ctors
>allows for multiple inheritance
>only default or static methods with a body in definition

Report · Quote

Anonymous · reply · 2026-07-22 21:25:07

>>26075
>OOP doesn't couple data and logic
>Object-oriented programming (OOP) is a programming paradigm based on objects – software entities that encapsulate data and function(s).
https://en.wikipedia.org/wiki/Object-oriented_programming

>objects ARE subsystems
then what's with all the retarded pizzas that bake themselves examples on here? a subsystem is just a collection of related functionality in whatever way your language allows. most have modules, that's a good subsystem boundary. if your language is shit you can wrap the entire thing into an object, you will get laughed at however

Report · Quote

Anonymous · reply · 2026-07-22 21:26:58

>>26088
>no argument
>ad hominem
lol

Report · Quote

Anonymous · reply · 2026-07-22 21:29:52

I love making people so mad they write typos.

Report · Quote

Anonymous · reply · 2026-07-22 21:32:45

>>26091
> show me how to create a type without a class in a type-based language and an object without classes in prototype OOP
> data A = B | C
> A := (....)
> NoOoOO, you should write a kernel otherwise it doesn't count
you're so dense is not even funny

Report · Quote

Anonymous · reply · 2026-07-22 21:38:21

>>26092
No one is really mad at you on 4chan. You're just a deluded kid

Report · Quote

Anonymous · reply · 2026-07-22 21:40:38

>>26094
No, even you're mad.

Report · Quote

Anonymous · reply · 2026-07-22 21:40:59

>>25950
This is such a good presentation. There's absolutely no intellectual rigor behind any of this OOP garbage. It was all retarded students/interns doing retarded student/intern things completely by themselves. Djikstra was right about everything.

Report · Quote

Anonymous · reply · 2026-07-22 21:41:38

>>26090
>>Object-oriented programming (OOP) is a programming paradigm based on objects – software entities that encapsulate data and function(s).
>https://en.wikipedia.org/wiki/Object-oriented_programming
you skipped the [clarification needed] part

meanwhile,
>In software development, an object is a semantic entity that has state, behavior, and identity.[1][2][3][4]
https://en.wikipedia.org/wiki/Object_(computer_science)
data not mentioned

>then what's with all the retarded pizzas that bake themselves examples on here?
might be bad-faith actors, or just midwits
never trust any post that uses non-program entities as example code

>a subsystem is just a collection of related functionality
that's basically what objects are, plus they hold state used between the related functionality while hiding it from unrelated functionality

Report · Quote

Anonymous · reply · 2026-07-22 21:43:36

>>26093
>more meaningless, contextless [A/B/C] babble instead of real code
lol

Report · Quote

Anonymous · reply · 2026-07-22 21:48:04

>>26097
>plus they hold state used between the related functionality
99% of the methods only use a tiny subset of the state and if you actually try to separate everything properly you quickly get to the point where finding actual functionality is difficult.

A simple module system and structs with referentially transparent functions is better almost all the time and typeclasses usually cover the cases where you need more.

Report · Quote

RMS · reply · 2026-07-22 21:52:50

Why Functional Programming Is Superior
by Richard Stallman

Friends,

Software should serve the user’s freedom. To have that freedom, you must be able to read, understand, and change the program. Functional programming helps. Object-Oriented programming, as it is commonly taught, hinders.

1. No hidden state
In OOP, an object can change itself internally. Call drone.move() and who knows what 8 fields were mutated, or what other objects were touched. That is not transparent.

In FP, a function takes input and returns output. move(state, cmd) returns a new state. No secrets. You can reason about it. If you can reason about it, you can study it. If you can study it, you are free.

2. Simplicity over bureaucracy
OOP encourages deep inheritance: Vehicle to FlyingVehicle to Drone to QuadDrone. Change the base class and everything breaks. That is coupling, not reuse.

FP encourages small functions composed together. map, filter, fold. Data as plain lists and dicts. In GNU Emacs Lisp we built an entire editor this way. No classes needed. Simple code is code that can be maintained by more than one person.

3. Data should not be imprisoned
OOP says data belongs to the object. That is enclosure. FP says data is data. You can inspect it, save it, transform it with any function. The user, not the class, controls the data.

4. Mathematical clarity
A pure function with the same inputs always gives the same output. That means you can test it, prove things about it, and share it safely. Side effects are explicit, not hidden in a method.

Conclusion
I am not saying never use a struct. I am saying do not wrap everything in classes just because a textbook told you to. Use functions. Compose them. Keep state minimal and visible.

If your goal is code that remains free for the next 20 years, choose the paradigm that is clearest. That is functional programming.

Use GNU. Write free software.

RMS

Report · Quote

Anonymous · reply · 2026-07-22 22:00:37

>>26097
state is data, therefore oop couples data and logic
>a computer program stores data in variables, which represent storage locations in the computer's memory. The contents of these memory locations, at any given point in the program's execution, are called the program's state.
https://en.wikipedia.org/wiki/State_(computer_science)#Program_state

Report · Quote

Anonymous · reply · 2026-07-22 22:02:33

>>26101
Yes, but I suck at OOP therefore I don't like it.

Report · Quote

Anonymous · reply · 2026-07-22 22:04:59

>>26102
Everyone sucks at OOP. There are no good OOP codebases and nobody can name one. Not a single one.

Report · Quote

Anonymous · reply · 2026-07-22 22:09:15

>>26096
>. There's absolutely no intellectual rigor behind any of this OOP garbage
Ever heard of object calculus?

Report · Quote

Anonymous · reply · 2026-07-22 22:10:32

>>26101
>state is data
it isn't
also you continue to use wikipedia as a source when it's already been shown it's self-contradictory

Report · Quote

Anonymous · reply · 2026-07-22 22:10:33

>>26103
Skill issue

Report · Quote

Anonymous · reply · 2026-07-22 22:14:17

>>26104
Yes it's a bunch of after the fact nonsense that is highly contested by actual mathematicians.

Report · Quote

Anonymous · reply · 2026-07-22 22:14:47

>>26103
if you're filtered by OOP then all OOP codebases will look bad

Report · Quote

Anonymous · reply · 2026-07-22 22:17:36

>>26108
Name some great OOP codebases then. Finding beautiful C or Haskell codebases is trivial.

Report · Quote

Anonymous · reply · 2026-07-22 22:17:56

>>26099
>99% of the methods only use a tiny subset of the state and if you actually try to separate everything properly you quickly get to the point where finding actual functionality is difficult.
actual skill issue

Report · Quote

Anonymous · reply · 2026-07-22 22:18:38

>>26105
you use your ass as a source, that's worse

Report · Quote

Anonymous · reply · 2026-07-22 22:22:26

Everytime I hear someone hating on OOP, it's always the for the most asinine reasons. Like they hate conformity and dont see it as more of a tool than anything. Faggots.

Report · Quote

Anonymous · reply · 2026-07-22 22:23:21

>>25928
/thread

Report · Quote

Anonymous · reply · 2026-07-22 22:28:18

>>26078
OOP is the preferred way in every business application that is worth a damn. It may seem like "more content and work" but in actuality, you're simply making it easier to build upon and enhance later.

Ive worked in both functional and OOP style, and OOP style is superior.

What people can call out is that jeets with their web development knowledge are running away with DI philosphy, making everything an interface or a service or a service under another service, which makes debugging hell on earth.

But that has nothing to do with OOP and everything to do with web development and jeets.

Report · Quote

Anonymous · reply · 2026-07-22 22:28:57

>>26112
Anytime I hear a proponent of OOP they are always a programming language/math brainlet. Usually using some dynamically typed garbage like Python, JavaScript or Ruby.

Report · Quote

Anonymous · reply · 2026-07-22 22:30:15

>>26115

>>26114

Report · Quote

Anonymous · reply · 2026-07-22 22:31:50

>>26116
> muh business slop
Fuck off jeet.

Report · Quote

Anonymous · reply · 2026-07-22 22:32:06

>>26111
at least my ass isn't self-contradictory

Report · Quote

Anonymous · reply · 2026-07-22 22:33:33

>>26117
Hey, faggot. Even large open source project employs OOP, so it's not just a business decision, you retard.

Report · Quote

Anonymous · reply · 2026-07-22 22:34:51

>>26117
>crying about real use cases
typical nocoder reaction

Report · Quote

Anonymous · reply · 2026-07-22 22:38:35

>>26119
Probably a big reason why basically everything is poorly coded garbage that can be replaced by a jeet/ai. The only application I use that is coded in one of these subhuman languages is Chrome.

Report · Quote

Anonymous · reply · 2026-07-22 22:50:38

>arguments demasked as asspulls
>but muh business
lol

Report · Quote

Anonymous · reply · 2026-07-22 22:56:27

>>25891
FPBP
OOP is only """popular"'' because your favorite retarded tech companies mandate using it to satisfy their autism
Nobody actually gives a FUCK about inheritance and encapsulation
It is known

Report · Quote

Anonymous · reply · 2026-07-22 23:15:04

>>26107
This sentence doesn't mean anything lol. object calculus is just a formal system like lambda calculus
Who are these "real mathematicians" and what they contest? The coherence of an arbitrary formal system?

Report · Quote

Anonymous · reply · 2026-07-22 23:15:33

I love OOP.

Report · Quote

Anonymous · reply · 2026-07-22 23:19:40

>>25886
>why does everyone hate OOP?
It's mostly a combination of older people who were around when OOP was a fad, and are terminally contrarian over it, and younger people who are cargo culting the older people.

Most people who hate OOP have never been involved in a large code base. Once you actually have to deal with a large code base where you can't keep everything in your head at once, OOP (or at least the encapsulation aspect of OOP) becomes basically mandatory.

Report · Quote

Anonymous · reply · 2026-07-22 23:30:35

>>26126
Truth. OOP makes so much sense for professional software.

the project in my post would have been an organizing annoyance if I went with functional old C style programming. >>26125

Report · Quote

Anonymous · reply · 2026-07-22 23:48:01

>>26125
> C tranny loves OOP
Imagine my surprise. Now, go back to wageslaving in game dev and getting laid off for the 4th time in 2 months

Report · Quote

Anonymous · reply · 2026-07-22 23:49:27

>>26128
I did that in my off time. We use C#, js, and sql at my current job. Fag. But yes, I grew up on C/ C++ and still love using it.

Report · Quote

Anonymous · reply · 2026-07-22 23:51:27

I don't get it. Isn't OOP just a way to organize shit?

Report · Quote

Anonymous · reply · 2026-07-22 23:52:49

>>26130
Yes. It's nothing more complicated than that. Just a lot of autists in the programming community hate being conformist, so they fight it just for the sake of it. Much like linux fags who fight macos and windows.

Report · Quote

Anonymous · reply · 2026-07-23 00:29:36

OOP is most popular amongst people who've only used OOP, interestingly enough

Report · Quote

Anonymous · reply · 2026-07-23 00:30:04

>>26130
yes, oop is for making boundaries. using inheritance, coupling data to logic, basically everything else about it is garbage. even languages like java realized this long ago and added features for representing and dealing with data directly without the associated historical brainrot

Report · Quote

Anonymous · reply · 2026-07-23 02:29:13

>>26129
no you didnt.
german 3. already posted.

Report · Quote

Anonymous · reply · 2026-07-23 02:44:50

>>26134
no I didnt what

Report · Quote

‹ Newer posts Page 5 of 6 Older posts ›

Reply to this thread

Posting requires a durable account or a TripPass. Reading remains available.

Sign in or create or attach a TripPass to post. Browsing is open.