r/AskProgramming • • Jul 01 '26

Career/Edu Anyone hate object oriented code?

Dont like oops.

How do you guys manage it?

Like only functional and procedural prograing :)

My hate is towards the jungle-gorilla-banana problem whereas functional programming seems clear, brezzy and maintain codebase rather easily.

0 Upvotes

34 comments sorted by

View all comments

Show parent comment

3

u/BaronOfTheVoid Jul 01 '26 edited Jul 01 '26

That's a common fallacy. You're not actually doing procedural, you're still essentially doing OOP, just in a language that isn't class-based. And the behavior still has a hard compile-time dependency on the data structures. You cannot compile them against completely different data structures. So it's really not as separated as you make it seem.

1

u/septumfunk-com Jul 01 '26

you *can* do oop-like behavior this way but you can also not do that and that's what i like about it. i said i prefer procedural not that i write purely procedural code. i've been working on a language of my own for a while that's pretty similar to rust and it's not really procedural..

1

u/septumfunk-com Jul 01 '26

also it's not "essentially" oop at all, it just shares some similarities with it. to do something simulating actual useful oop in C you would use function pointers to make your own vtables. you can't really call it oop without some kind of mechanism for inheritance and polymorphism