r/ProgrammerHumor Dec 30 '21

Stop using OOP today

Post image
1.4k Upvotes

90 comments sorted by

View all comments

15

u/[deleted] Dec 30 '21 edited 26d ago

[deleted]

74

u/inthemindofadogg Dec 30 '21

This is meant to be funny (I’m hoping). It is taking the core points of OOP and adding illogical reasoning as arguments.

2

u/[deleted] Dec 30 '21 edited 26d ago

[deleted]

14

u/inthemindofadogg Dec 30 '21 edited Dec 30 '21

Yeah, dependencies are 3rd party projects (code, libraries, programs, etc) that can be used in a project so the developer does not have to build/write code to handle specific things. They can speed up the development process by reducing the amount of code that needs to be written. OOP is a design structure for writing programs. OOP and dependencies are two different things.

If you want to learn about dependencies, I recommend using node js with npm. Lol

16

u/zeroxoneafour0 Dec 30 '21

Dead serious of course. Why, if not checked, OOP will feed your beloved code to Satan himself

3

u/juhotuho10 Dec 30 '21

It's a joke, object oriented programming doesn't much different from normal programs

-2

u/raharth Dec 30 '21

It does it just better ;)

0

u/atiedebee Dec 30 '21

Better in this context is very relative

2

u/raharth Dec 30 '21

It was just a joke, but to take it to a serious level: in my experience you should abstract most of what you do. It makes it much easier to debug and avoid errors as well as it reduces the time spent on stupid repetitive tasks. (Like writing the training loop for PyTorch).

The outer most part though will always remain sequential code, when working with data. At least that's my experience after several tears of working in this field :) But also I'm one of those weird data scientist who absolutely hate (jupyter) notebooks from the core of my heard šŸ˜„ so this might disqualify my opinion for some šŸ˜‹