@delta@mk.absturztau.be @natty@astolfo.social @astrid@fedi.astrid.tech god, I wish I still had my old shitty middle school minecraft mod code, I definitely made some cursed shit I could laugh at nowadays...
Conversation
Notices
-
Embed this notice
Kainoa (kainoa@calckey.social)'s status on Saturday, 03-Jun-2023 10:40:53 JST Kainoa -
Embed this notice
Delta (delta@mk.absturztau.be)'s status on Saturday, 03-Jun-2023 10:40:55 JST Delta @natty@astolfo.social @astrid@fedi.astrid.tech i still have some of my earliest code from computercraft i think, i'm too lazy to dig it up though
but i'm pretty sure in one of them wrote i wrote something like if variable / 2 == variable / 3 in one of them -
Embed this notice
Natty :butterflyN: (natty@astolfo.social)'s status on Saturday, 03-Jun-2023 10:40:59 JST Natty :butterflyN: @astrid@fedi.astrid.tech I lost my minecraft mods, which would be probably the earlier code I have
-
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:01 JST malevolent dictator for life @natty I wish I kept my shitty Lua programs I wrote on my ipod touch but unfortunately they're all gone... -
Embed this notice
Natty :butterflyN: (natty@astolfo.social)'s status on Saturday, 03-Jun-2023 10:41:03 JST Natty :butterflyN: @astrid@fedi.astrid.tech I wish I had any early code that I wrote myself, I have just a lot of HTML :(
-
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:04 JST malevolent dictator for life probably the interviewer would be like "jesse wtf are you talking about" -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:05 JST malevolent dictator for life tbf I would have passed fizzbuzz with that -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:07 JST malevolent dictator for life I didn't know about modulo for a frankly embarrassingly long time, so I checked for evenness by doing `math.floor(a / 2) == a / 2`, and I did modulo by doing `(a / b - math.floor(a / b)) * b` -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:08 JST malevolent dictator for life Oh god
Im remembering that it got worse
So I knew ==, but not ~=, so basically to do something if 2 things AREN'T equal I would do
if a == b then
else
(stuff)
end -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:09 JST malevolent dictator for life oh oh so I knew that functions existed, but I didn't know about the existence of return. So, I literally just set global variables to pass data out of functions T_T -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:11 JST malevolent dictator for life I think I also didn't know about true and false so to make an infinite loop I wrote
repeat
(the code)
until 1 == 2 -
Embed this notice
malevolent dictator for life (astrid@fedi.astrid.tech)'s status on Saturday, 03-Jun-2023 10:41:12 JST malevolent dictator for life thinking back to small me learning programming, but not knowing about how to do NOT in Lua, and just writing code like
if condition then
else
(the code)
end
-
Embed this notice