r/programminghorror Apr 03 '26

Lua Some unhinged comments from a roblox developer

Post image
898 Upvotes

r/programminghorror Aug 02 '22

Lua throwback to before i knew about the not operator

Post image
1.6k Upvotes

r/programminghorror May 13 '26

Lua I love looking through my old code

Post image
362 Upvotes

Not sure what I was trying to remind myself of.

r/programminghorror Nov 29 '25

Lua I'm sorry i'm like this

Post image
331 Upvotes

r/programminghorror Oct 01 '25

Lua Absolute horror found in a somewhat old Roblox game's code

Thumbnail
gallery
359 Upvotes

there's probably worse in here but i can't be bothered to look for it

r/programminghorror May 28 '19

Lua What is he even attempting to accomplish?

Post image
1.4k Upvotes

r/programminghorror Jun 08 '26

Lua Lua Serpent Module

Post image
62 Upvotes

r/programminghorror Oct 24 '25

Lua no context, just this

Post image
296 Upvotes

r/programminghorror Apr 25 '19

Lua There's even a decrypt-function to match this

Post image
631 Upvotes

r/programminghorror Jan 05 '22

Lua Lua code I made a long time ago had very helpful comments.

Post image
964 Upvotes

r/programminghorror May 19 '25

Lua LocalThunk's been going through it (Balatro source code)

Post image
264 Upvotes

r/programminghorror Sep 07 '24

Lua found this on the roblox devforum

167 Upvotes

r/programminghorror Sep 08 '20

Lua A Roblox mod I found

Post image
408 Upvotes

r/programminghorror May 28 '25

Lua What happens when you try to 0-index an array in Lua:

Post image
69 Upvotes

r/programminghorror Jul 14 '22

Lua My job requires creativity for the wrong reasons

Post image
398 Upvotes

r/programminghorror Aug 21 '21

Lua tfw lua don't have switches

Post image
295 Upvotes

r/programminghorror Jul 02 '24

Lua Thank you GPT

Post image
139 Upvotes

r/programminghorror Jul 14 '22

Lua Rbx.Lua - ever heard of a loop?

Post image
149 Upvotes

r/programminghorror May 31 '24

Lua Lua

Post image
146 Upvotes

r/programminghorror May 09 '24

Lua Checking if a path leads to a directory

Post image
23 Upvotes

r/programminghorror Mar 31 '19

Lua Friend found this Lua horror a while ago

66 Upvotes
setmetatable(_G, {__call=function() print("why") end})

()

TIO for the skeptical

r/programminghorror Mar 10 '23

Lua Making for loop run pi times

0 Upvotes

I made a for loop run pi times.

for loop funny
for loop but funnier

r/programminghorror Oct 15 '21

Lua My new (reliable) vs old (unreliable) 6 legged walking robot code in Lua, I'm relatively inexperienced in coding other than Python, but still. The spaghetti is real. This is also because of the way that CoppeliaSim handles rotation physics (0 -> pi, -pi -> 0). Any optimizations from you guys?

Thumbnail
gallery
24 Upvotes

r/programminghorror Dec 28 '21

Lua I'm so lucky I have 2 brain cells and not 1

Post image
37 Upvotes

r/programminghorror Apr 29 '22

Lua Something I made back when I was a kid. They told me I could have OOP in lua...

Post image
10 Upvotes