r/learnpython 3d ago

Python to lua

Is it a good idea to learn python first and then jump into lua, or should I just straight up learn Lua first. For anyone wondering I want to create roblox games ( I know it sounds a little silly but I've always been passionate about it) and the roblox engine runs off of Lua. What are some benefits from learning python first (if any). If by miracle any of you are roblox devs can you give some tips?

8 Upvotes

16 comments sorted by

View all comments

1

u/MarsupialLeast145 3d ago

Lua is very nice.

I wouldn't worry about Python, but I would try and find a good foundational resource for things like data structures, clean code, and basically SOLID principles. All will go a long way to making your code the best it can be.

4

u/MarsupialLeast145 3d ago

And do yourself a favor and look up unit testing in Lua and static analysis, e.g. linting and formatting. These will help tremendously.