Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you learn Object-Oriented Programming?

Asked by 6 years ago

It is so confusing are there any good tutorials out there that go in-depth with what it is and shows how to use it properly in Lua? The wiki has a terrible tutorial that goes from simple stuff to insanely complicated stuff.

I understand metatables and the metamethods but not constructors and all that.

If someone could briefly explain what each part of OOP is such as constructors and classes, or provide a helpful link to where I can learn more about it.

1
Maybe try looking at another language. While it's much spicier to learn, taking a look at Java or C# would be a great way to learn OOp principles, which you could then apply to ROBLOX. Since Java and C# have actual professional teams supporting them, the documentation and support available is far better. fredfishy 833 — 6y
0
It's not so much that the Wiki's tutorial is insanely complicated (it's not), but it assumes you understand the theory behind OOP. You can learn this either abstractly or from another language. You can learn it and apply it to Lua. Avigant 2374 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Try https://devforum.roblox.com/t/kurdiez-scripting-4-object-oriented-programming-in-lua/135192

Ad

Answer this question