Languages
Post #3206 · source on Telegram
Lua Programmer Fears Zero
Description
A six-panel SpongeBob scene shows Patrick, Squidward, and SpongeBob with large white meme text over each frame. The text reads: "I'm a LUA programmer," "What does LUA programmer mean?" "It means he's scared of zero." "No it doesn't!" "Zero!" and finally "Stop it, Patrick, you're scaring him!" The technical joke is about Lua's conventional one-based array indexing, which makes zero feel unnatural compared with languages where arrays start at index 0. It turns an indexing convention into a literal fear response.
Use J and K for navigation
Comments
37Comment deleted
Lua does not have off-by-one bugs; it has everyone else being off by one.
LUA Comment deleted
Zero! Comment deleted
that is 1 (0! = 1) Comment deleted
if there was no context i would be extremely confused by the 0!=1 hehe Comment deleted
is 0 == 1 ? Comment deleted
mathematically, i’m starting to question my existence. Comment deleted
Lol, do u know what is the factorial of the number? Comment deleted
0 does not exist in Peano arithmetic Comment deleted
Or does it? *heavy VSauce music* Comment deleted
In what Comment deleted
They should have named it Luna Comment deleted
You forgot about Lupa Comment deleted
😄 Comment deleted
You mixed up, it should be Pupa Comment deleted
Pupa had his income instead of Lupa )))) XD))0) Comment deleted
Yes, Pupa is going before Lupa Comment deleted
He(she?) should go after Lupa, so he goes za Lupoy (after Lupa) Comment deleted
dua zalupa Comment deleted
no, python + lua Comment deleted
they should havenamed it ルナ (runa) Comment deleted
HAHAHA I have GREAT news for you Comment deleted
I come here from page explaining that Lua is moon in Portuguese, so I already know🙂 Comment deleted
Nula Comment deleted
I’ve never messed with Lua before, what’s the joke here? Comment deleted
in Lua arrays start at 1 not 0 Comment deleted
Lunacy Comment deleted
Luacry Comment deleted
In good languages arrays starp with varname.first, end with varname.last and you iterate with nxt_idx:=varname(idx).next Comment deleted
Excuse me!!, in good languages you don't iterate anything, you map the elements inside Comment deleted
Quite often this is very inefficient Comment deleted
LUA Comment deleted
Luacy Comment deleted
i am really confused at this stage. Comment deleted
scared of switches too Comment deleted
Lua doesn't mean "LUA"?) Comment deleted
Lua is full name. LUA aka L.U.A., abbreviation. Comment deleted