DEV Community 👩‍💻👨‍💻

Discussion on: Welcome Thread - v31

defgrav04 profile image
Mina Oh

Hi Khairi, unfortunately, I have not tried programming in Lua yet. But, object-oriented programming is a type of programming design. It's kind of based on what the language is catered to.

So, in OOP, we can create classes and relate them to real-world entities. That is okay for, say, Java or C#. But in C, we can't do that because C language doesn't have classes.

Maybe you can apply the OOP Concepts in Lua language. These concepts include polymorphism, encapsulation, etc. Click here for more information on OOP. :)