My opinion is that once someone invents a word, it exists forever, even if it’s later marked as obsolete/archaic.
Conversely, just because the dictionary doesn’t have a word, doesn’t mean it doesn’t exist.
Just a hobbyist programmer.
My opinion is that once someone invents a word, it exists forever, even if it’s later marked as obsolete/archaic.
Conversely, just because the dictionary doesn’t have a word, doesn’t mean it doesn’t exist.
To be fair, 0.2 + 0.1 = 0.30000000000000004
I would let Sephiroth rail me tbh
My feed rn:
I should get Henry Cavill in me
Sweet memes are made of cheese
Same, except WhatsApp instead of FB Messenger. I had no results trying to convince my family and friends to use other stuff
Supposotory*
Derp, I misread.
Kinda.
Lua defines it implicitly only when you use the
function foo:bar(a, b, c) -- note the colon
syntactic sugar, which gets translated to
function foo.bar(self, a, b, c) -- note the period
In all cases, self
is a regular variable name. You can even redeclare a new local with that name even when the old one is in scope.
Edit: some typos
Well, you keep on trying til you run out of cake (and then get more)
TBH I don’t know lol
I just grabbed this meme
…and remixed it
if debug.getinfo(1).what == "main" then
-- ...
end
Not that you’ll ever use it. No, seriously.
Edit: actually, they are not quite equivalent. This code just checks whether we are outside any function, not necessarily in the main file (i.e. not in a module). I don’t think there’s an equivalent to Python’s __name__
in stock Lua.
!antiquememesroadshow@lemmy.world wants you
It’s perfectly cromulent