Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bubbles66125y@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.
-
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
-
fun-fact: the CLR specs don't even require that everything is in a class, freestanding functions are perfectly fine
-
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.
-
VaderNT16175y@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".
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
Cyborg15A guy and a girl are in a Java seminar. Afterward, the guy approaches the girl and asks, "Hey gurrl, can I ge...
-
Unskipp24So this happened last night... Gf: my favorite bra is not fitting me anymore Me: get a new one ? Gf: but it ...
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.
rant
unpopular opinion
oop
object oriented
c++
python
opinions wanted
oopsies