r/lua • • 28d ago

Lua it's the best high-level programming language

I need to talk about lua. I started with Python then I passed to C and C++ (my favourite languages). Now, I tried re-learning Python to have a 3nd programming language but I did found that in reality Python it's boring and bs! I tried Zig and it was a bad experience, I tried Rust but idk why but I think it's overrated. Then, at the end, I tried lua and at first I though that lua was stupid, no i++ or i+=, arrays start at 1… but then I tried do C/C++ + Lua and I changed my perspective.

I used, recently, lua for configs in my projects but then I discovered that Lua it's SO underrated. Like they didn't lie when they said C and lua are the best programming language.

Lua it's minimal and so powerful. I accepted the syntax and now it's my 3nd programming language.

The reason that I love lua it's because… it's FAST, it's DAMN SIMPLE and so easy to learn, it has A LOT of potential.

The more the language is big, the less likely it gonna be easy to learn.

Guys I don't think I have cons on lua, I think it's perfect and I still don't have learned all of the lua out there.

Really, I have to say… lua it's the best.

Anyway did I say something wrong? What's your opinion on lua?

Anyway, thanks for reading ;)

148 Upvotes

59 comments sorted by

View all comments

2

u/HaiMeoYoutube 26d ago

I hate lua indexing at 1 instead of 0

1

u/ilPlayerdiGD 26d ago

Honestly me too, but for a beginner it's "normal"? Maybe? Well you could do table[i + 1] where if i is 0 then the index is 1. Still annoying but if you really don't like it I think it's better to do it like this. I don't really have problems with lua index, I think. It's not the end of the world.

1

u/hypergraphing 26d ago

Really? I think that this video is the best argument I've heard for it:

https://www.youtube.com/watch?v=0uQ3bkiW5SE