how to create oop in Lua-language
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. :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.