Am I retarded for not understanding LUA

am I retarded for not understanding LUA

Attached: lua.png (1200x1200, 72K)

Other urls found in this thread:

tylerneylon.com/a/learn-lua/
twitter.com/AnonBabble

yes.

Pretty much yeah

but i started it a few days ago

There's nothing to understand, everything is a table, including metatables. Your code consists of minor hints of logic by which you iterate over tables.

BASIC

Attached: 8QUEENS_SCRIPBASIC.png (556x504, 21K)

Yes. 8 years olds on roblox can do it. What's your excuse?

This.
Cheer up OP, you will get there someday, I believe in you :•D

-- < this is a comment
bigshitgoeshere = {little, shit, goes, here}
--bigshitgoeshere.little == bigshithere["little"] == bigshithere[1]
local age = 1
local sage = 0

iterator = i
for i, 1 to age do if sage == true then print("lol") else print("kek") end end

--guess what fucker, that i in front of for is local and not the same as the i in iterator global
--pairs for unsorted tables and keys, i pairs for sorted

and thats all i know really, sorry if I make you more stupid lmao

Attached: whatchulookinat?.png (800x900, 646K)

most definitely

>posting the same program all the time
you must be really retarded

I really want to read through Lua implementation one day.
But one think that bothers me is grammar, I just don't see how Lua is not ambiguous, or maybe it is? Madness, it's worse than JS in this sense.

What could possibly be ambiguous?

>arrays start at 1
No, it's a fundamental mismatch between the rational brain and chaos

Sounds like react

I dunno anything about webshit frameworks. There's some serious gotchas but simplicity is sexy.

Someone should just fork it and change that behavior, see what happens.

Webshit frameworks make money breh and simplicity through breaking something complex in 10 thousand parts to make it look simple for the average brainlet works but is fucking boring, i unironically love spaghetti code with 10 thousand nested if's

Computers love simple shit too. Human brains got some serious dissonance on the matter
>How can iterating over a million entry array be faster than finding an obvious pattern?

yea

Basically everything can be a pattern if you try hard enough

isnt lua something people use for gmod?

probly, its used as an embedded scripting lang in tons and tons of shit. It's very lightweight and quick.

Also WoW addons

yes, it shouldn't take you more than a couple of hours to learn the basics; but you demonstrated it by spelling it LUA
yeah, that's the alternative if you are too brainlet even for Lua

mods cant we just ban this guy?

Yup

You are doing an extremely good job irking everyone around here. Bravo user Blue, it's a pleasure seeing the responses of everyone to your posts.
Continue. God speed.

Sure it is.
> t. pi' decimals

> bigshitgoeshere.little == bigshithere["little"] == bigshithere[1]

Stop spreading false information

Attached: stfu.png (479x134, 12K)

maybe
lua is easy as shit

in lua, named table elements aren't indexed with a number
so
bigshithere["little"] == bigshithere[1]
isn't true

Yea, I feel sorry for you

So what? It's lua, there's not anything to learn besides tables.

tylerneylon.com/a/learn-lua/
retard

Lua > shit > memescript

Lua by itself as a language, yea.
Lua c-api within another language, nah.

Is lua a meme for scripting? I wish there was a good alternative that wasn't a literally who language.

If you call yourself a programmer and that you haven't used another language other than Lua, then you're definitely retarded.

>Why can't i index an array with an int of 0
Fucking petrol engineers

Fortran works this way too. If it really irks you, you can specify to start the array at 0. Can you not do the same in Lua?

You probably could but you'd have to go find some naive interpreter version where nothing breaks.

couldn't you just make a metatable where it increments the get and set by 1?