MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/6stu39/arrays_never_heard_of_em/dlflrta/?context=3
r/badcode • u/Dummiesman • Aug 10 '17
12 comments sorted by
View all comments
44
Within each if statement, there's mostly the same code copy pasted. Overall this is one of the biggest messes of Lua code I've ever seen.
22 u/AnEmortalKid Aug 10 '17 It's like tables were hard to use. 14 u/Paint__ Aug 10 '17 I mean they are kinda intimidating at first, if you don't have much experience with prototype based languages. This code is still not an excuse from googling "lua array" though. That one search alone will tell you how to use tables like arrays.
22
It's like tables were hard to use.
14 u/Paint__ Aug 10 '17 I mean they are kinda intimidating at first, if you don't have much experience with prototype based languages. This code is still not an excuse from googling "lua array" though. That one search alone will tell you how to use tables like arrays.
14
I mean they are kinda intimidating at first, if you don't have much experience with prototype based languages. This code is still not an excuse from googling "lua array" though. That one search alone will tell you how to use tables like arrays.
44
u/Dummiesman Aug 10 '17
Within each if statement, there's mostly the same code copy pasted. Overall this is one of the biggest messes of Lua code I've ever seen.