OOP Programming discussion

So a few months ago I continued my programming journey into OOP and for a while none of the concepts I could wrap my head around until a couple weeks ago where something finally clicked and I was able to understand the fundamentals of OOP and I’ve been studying on it ever since. I have a friend whose been making websites and programs for businesses for quite some time and I was conversing about my studies and he commented that people in his line of work don’t use OOP anymore as there are better and more efficient ways.

This got me thinking as OOP in Roblox seems to be some pinnacle programming style and I was going to put my heart and soul into learning it but now I’m wondering if my time would be better spent elsewhere. Is OOP obsolete and do major Roblox game developers use this type of programming in their games in 2024?

3 Likes

I’m pretty shhure OOP is the most efficent way to create for example maybe a gui or guns frameworks or something alrthough idk

1 Like

It’s all up to opinion. There’s many different paradigms other than OOP which people don’t often talk about: Imperative, Declarative, Functional, etc.

Some people might find OOP convenient, while others might find functional convenient, where everything is immutable (non-editable data that you cannot update) and you just create new values and pass those around into functions instead.

What is great about Luau/Lua is that you aren’t locked into one paradigm unlike languages like C++ or Java - you get to choose your adventure! This flexibility allows you to practically implement any paradigm of your own. I’d recommend exploring paradigms other than OOP too, then settling on the one which you like the most.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.