Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do you learn Object-Oriented Programming?

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.

3 comments

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.

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.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.