r/lua • u/Certain-Positive9365 • Jul 25 '26
learning python helps with learning lau?
I picked computer science for my gcse, which im assuming im learning python in, but i would also like to learn lau and how to code in roblox studio
Is the difference between python and lau too much for me to have to learn both or can i intuitively learn lau from my knowledge of python?
1
Upvotes
6
u/Sergenti Jul 25 '26
If you haven't done any programming before I'd say just pick one to start with, then the basic concepts translate more easily between languages. Lua is much simpler, while Python has more features and a very large library ecosystem. Both are good first languages imo
2
u/AutoModerator Jul 25 '26
Hi! It looks like you're posting about Roblox. Here at /r/Lua we get a lot of questions that would be answered better at /r/RobloxGameDev or the Roblox Developer Forum so it might be better to start there. However, we still encourage you to post here if your question is related to a Roblox project but the question is about the Lua language specifically, including but not limited to: syntax, language idioms, best practices, particular language features such as coroutines and metatables, Lua libraries and ecosystem, etc. Bear in mind that Roblox implements its own API (application programming interface) and most of the functions you'll use when developing a Roblox script will exist within Roblox but not within the broader Lua ecosystem.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/Advanced-Citron8111 Jul 26 '26
If you learn one the other will become much easier. The syntax is pretty similar.
1
u/WeeklyShoulder66 Jul 26 '26
My first language was python and after having to use some lua for a project they seem to translate pretty well
1
u/Smile_Resident Jul 26 '26
Structures and concepts will translate but luau has a lot of built in events and services that are very useful to know and I think it takes familiarity and experience in studio to get the hang if things
1
u/arkt8 Jul 27 '26
I would say if you know Python you basically already know Lua (except for metatable magics).
Lua is a lot simpler than Python, fery few types because sets, arrays, dictionaries, classes... all you accomplish with Lua tables and Lua can do anything Python does if you find right batteries (libraries) for it.
0
u/likethevegetable Jul 26 '26
I find them similar but Lua does some weird, unconventional things