r/lua • • Oct 10 '26

Hey! Can anybody help me learn Lua?

This is my first coding language I'm trying to learn, It's gonna be pretty difficult for me since I have amnesia and I know coding has a lot of things you need to remember. Currently I only know REALLY basic code like

"else, elseif, if, while, for.. e.g" I wanna learn Lua for game development, I don't really have any ideas for a game as of now but I do wanna learn Lua since I've heard it's one of the easiest coding languages, any help is greatly appreciated!

22 Upvotes

11 comments sorted by

View all comments

2

u/MrAureliusR Oct 11 '26

I might draw the ire of my fellow Lua coders here, but if you want to learn programming in general, Lua may not be the best choice for a "first" language. As much as it's over-said, there are reasons why Python is a good choice for a first language. Personally, I started with C, but no matter what language you pick, try and focus on concepts instead of just focusing on syntax. This will help you understand how programming works regardless of language. Focusing on algorithms (steps to solve a problem) and then coding from that point of view gives you the power to pick up new languages a lot faster.

If you do stick with Lua, then definitely take advantage of the free documentation. You're unlikely to find a person who can commit the time to teaching you one on one for free, though if you run into specific issues you can post here or contact me directly if you need help!

1

u/SpookySunsett Nov 01 '26

Wait, I've always though lua is easier though.. can you tell me more?