r/CodingHelp • • Jul 10 '22

[Random] object oriented programming

Hello everyone,

I don't know if this is the right place to ask but here it goes. I have been taught how object oriented programming is much better than procedural programming. And how easy it is just change implementation and what not. But what I would like to know, how many times have you used object oriented path instead of procedural in your career. Do people actually use object oriented programming more??

19 Upvotes

17 comments sorted by

View all comments

14

u/Arkaedan Jul 10 '22

Languages like Java and C# were specifically designed for Object Oriented Programming (OOP) so if you use either of them then you are very likely going to be using OOP. Other languages like C++, Python, and Typescript, make it easy to do OOP while also allowing for other types of programming as well. OOP is not necessarily better or worse than other approaches however it is more suited to some situations than others. That being said, OOP is probably the most common approach for very large projects.

0

u/Ikem32 Jul 10 '22

OOP feels a lot like boilerplate. Hence I avoid it, when I can. Javascript is leaning towards functional/procedural nowadays.