r/lua • u/OrganizationWhole744 • Jun 14 '26
Should I learn "Programming in Lua 4th Edition"
Like i've been trying to learn lua for so long, and i couldnt find anything good. my problem was that i was trying to find good sources on yt, like tutorials and stuff. now that i watched actual good programmers they recommend to read books. but lua dosnt have lots of books, and that the only one i could find. so my question is if anyone read it, will i be able to learn 80% of lua, such as: problem-solving, understanding the logic, and mindset. please help😟
112
Upvotes
20
u/Algoridro Jun 14 '26
yes its a good book
14
u/heytyshawn Jun 14 '26
it’s a good book but if im honest it sounds like you’re struggling to understand programming fundamentals so i would start there if no you’re still struggling to learn lua.
also i will probably get downvoted for this but i still stand by it. if you’re still stuck trying to wrap your head around something (even with the book) paste the code snippet in chatgpt and ask it to explain it for you. i’ve seen A LOT of people use it to answer their questions and explain things in a way they can understand. just tell it your current thinking, what you’re confused about, and it’ll help clarify the code in a way you understand.
2
u/ayush3325 Jun 20 '26
Great book
1
u/ProudPainting6850 Jun 14 '26
It's an excellent book, you won't be disappointed.
1
u/Limp-Confidence5612 Jun 14 '26
You don't need a lot of books to learn how lua works. You need only this one. The rest you need to get from other sources though, algorithms, memory management, data types, etc.
1
u/BluFudge Jun 15 '26
Hey, I'm a lua beginner too! I like the first edition (but it got real complex quickly, I'll come back to it another time) but I really found this helpful:
awsome-lua - tutorials
I'm taking my time but those really helped me grasp a little more of lua. When I got to the lua tutorials part, they recommended getting to know Lua first: Lua Org Guide. And I really love how they organise the links. Genuinely read the research papers... I initially thought it was for fellow programmers but they do explain the concepts quite well.
If you're really struggling, I suggest perusing Think Python which slowly introduces you to programming concepts. Then come back to Lua, which simplifies things a fair bit.
Edit: Spelling
1
u/motorbike_fantasy Jun 16 '26
This subs own wiki has some pretty decent links on learning resources!
And if you'd like something light and fun, https://www.codedex.io/lua
1
u/Flame77ofc Jun 17 '26
If u want to learn games, yes
1
u/anish2good Jun 17 '26
Good Choice , you can also try LUA Tutorial here http://8gwifi.org/tutorials/lua it's comes with inline LUA runner and use AI to explain and create challenge code for yourself
0
u/ViezeVingertjes Jun 15 '26
What year is this? Havent seen LUA in over 2?3? decades. What reason would one have to go with such scripting language in 2026?
0
u/[deleted] Jun 15 '26
[deleted] — view deleted comment
10
u/[deleted] Jun 14 '26
[removed] — view removed comment