7
Bubbles
2y

I kind of don’t like OOP. There I said it.
Don’t get me wrong there are times I like using it. I don’t mind some of the features but I can rarely find times I want to use them.

It can be useful depending on the project but I mostly don’t use it and when I’m using Python I always feel like I have to? I know Python offers multiple types paradigms of programming to use but everyone’s making a big deal about OOP and I can rarely ever find uses for it. What I said for Python also goes for C++ I feel like I’m forced to do it. And I especially hate it in C++ fuck that.

I’d just like to use Python, and C++ without using it or if I do not have to use all the fancy features. And kinda wish Java and C# didn’t force OOP on you but I just don’t use all the fancy features in those languages (I don’t even use java but I’m mostly talking about C# for that one).

It’s not that I don’t know how to use it it’s that I can never find a use for any of the features or just don’t want to actually do it. Personally I only really see it shining in Game development, GUI development, and MAYBE network programming??

By all means I’m not trying to flame on OOP, I just wanted to throw my OOPinion (HA) on the matter. in fact you can tell me why you like it or dislike it. I’d like to discuss the topic with anyone.

Comments
  • 1
    @irene I know the language doesn’t but more or less I feel the communities are low key forcing me. Forcing isn’t the right word but it’ll have to do.
  • 2
    You don't have to use it if you don't want to... I myself never really used OOP in python, C# and Java does force you to use it but you don't have to go all in. I do find it useful in some cases but mostly I use it just to group variables and functions together, and less with the whole abstraction and the overplanning thing. I use it in more of a C's structs way than resl OOP
  • 1
    fun-fact: the CLR specs don't even require that everything is in a class, freestanding functions are perfectly fine
  • 4
    You'll see the benefits as you scale your program size up and keeping everything modularized and sane (and fast) becomes difficult (assuming your problem maps well to OOP). For smaller or hobby projects you can easily get away with using a procedural style.
  • 2
    @Bubbles I agree. OOP is a tool that really doesn't apply everywhere.
    There's an excellent talk on YouTube called "Stop Writing Classes" about this. In one instance they got from 660 lines of code to 5. And they're not even saying "don't use classes anywhere", just "don't use classes where they don't apply".
  • 0
    @VaderNT could you link me?
  • 2
  • 0
  • 1
    @irene C++ w/o the OOP bits, wouldn't that be C? 🤔
Add Comment