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
View all comments
Show parent comment
1
u/arkt8 Jul 27 '26
It is like call Haskell (laziness), C++ (templates), Shell (pipes) weirdjust because you are not familiar with them.
Numbers are numbers, not strings, so you need explicit conversion, what is pretty obvious (instead of Python ducktypes or stranger behaviors of JS if you don't know the internal language implementation).
About scoping it is local by default in Lua 5.5 but not difficult to restrict on previous versions with setmetatable. And it is from Lua origin as configuration language. Again, it is not difficult to type
localas many languages havelet,deforvarkeywords.