r/AskProgramming • u/NowUKnowMe121 • 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
View all comments
Show parent comment
1
u/Delta-9- Jul 01 '26 edited Jul 01 '26
By writing functions instead of classes?
I'm not sure how that follows. Maybe my perspective is limited because I work in languages where
voidpointers aren't a thing, but "safe" and "polymorphic" are essentially orthogonal concepts and it's very possible to write unsafe code that is technically polymorphic. In Python, all you need to do is ignore anabstractmethodin a subclass, or turn off your linter and let method signatures run wild, or use diamond inheritance carelessly.I'm prepared to be wrong here, but are you perhaps confusing subtype polymorphism with object orientation?
Edit: new record for fastest time-to-blocked: one comment.
Fwiw I was actually hoping to learn something here. My app uses polymorphism where it's appropriate, but most business logic is functions and polymorphism didn't really come up at all when I was writing tests. So, I'm either doing something very wrong, or maybe it's just something that you can do in Python but not C++. Guess I'm not gonna learn from you, though.