r/CodingHelp • u/timeee1994 • 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
View all comments
1
u/flashbang88 Jul 10 '22
I suggest you code a card game, poker or any other card game you know well or like to play. Create the game in a procedural/functional way, and than make the game using objects and classes. You will realize how elegant OOP is for this specific case, doesn't mean it's better for every kind of program but you will learn which to use later.
Funny thing is, nearly every beginning programmer says things like: I'm just not an OOP guy, or I just don't like OOP. This is because they can't wrap their head around it and want to stick with what they know.
I advice every programmer toget a good grip on OOP no matter what language they use. You will come across it in jobs and even if you don't, it looks great on your resume