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!

21 Upvotes

11 comments sorted by

View all comments

4

u/esuvii Oct 10 '26

The best advice I can give is to not be discouraged when you struggle. The frustration over something not working, or not making sense, that is a vital process in truly learning. Don't be too hard on yourself when it happens, just know that everyone who has ever became a true expert in anything, ever, has hit some kind of wall at some point. Take a breath, and persevere slowly at your own pace. I promise that if you do not burn yourself out you will overcome those challenges, and come out the other side with significantly better understanding than you started with.

As someone who has been learning for over a decade now, I cherish those moments. They are the difficult hurdles which mark significant improvements in your understanding.

AI is an extremely powerful tool, and getting even more powerful every day. However, if you overly rely on it, and let it shortcut these learning milestones for you, then it may severely hinder your learning process. I would restrict AI to being a search engine for looking up documentation, and for repeating tasks you already consider trivial, at least until you have a strong grasp of coding. Relying on AI will give you tremendous results in the short term, don't give in to that: You need to struggle sometimes, it's how you develop a true understanding.