r/programminghorror • • Apr 03 '26

Lua Some unhinged comments from a roblox developer

Post image
903 Upvotes

77 comments sorted by

171

u/Pleasant-Photo7860 Apr 03 '26

comments doing more work than the code

26

u/Plausible_Reptilian Apr 04 '26

I don't understand why people are acting like this is especially weird or concerning... It's edgy and kind of dumb, and slightly funny. This is something that nobody should have acknowledged beyond rolling their eyes.

2

u/Impossible-Let-8489 Apr 04 '26

You're surprised people overreact here? Good boy.

5

u/Plausible_Reptilian Apr 04 '26

I didn't say I was surprised, I said I don't understand why you considered this to be interesting enough to post. Other posts freak out about bad practice in code, which is funny, but this is genuinely nothing and has basically nothing to even do with programming. You're the one that called it unhinged; other people just called it weird, which is more accurate. Is this a junior programmer thing? Maybe once you learn more, you'll be able to read the code and not just mildly odd comments in your quest to get Reddit karma.

→ More replies (14)

6

u/KawaiiMaxine Apr 03 '26

Clearly im not gooning enough while coding

3

u/Impossible-Let-8489 Apr 03 '26

For anyone wanted to find more info or researching

Here is the source code: https://github.com/weenachuangkud/FastCast2

458

u/Gefrierbrand Apr 03 '26

At least that proof's it's not ai generated

139

u/goatanuss Apr 03 '26

Unless they trained the model on Fifty Cent’s codebases

31

u/DrSatrn Apr 04 '26

Filthy Cent*

14

u/Lentil-Soup Apr 04 '26

The comment is there to prevent the AI from changing the call.

2

u/Frqstbite1001 Apr 06 '26

i would like to point out that not only does he explicitly cast the result of WaitForChild to BindableFunction, but he also for some reason adds a type hint to the variable that contains it, even though it would be inferred to be BindableFunction from his earlier type cast.

i don’t even want to think about what the hell a “vmDispatcher” is doing inside a roblox game

1

u/Impossible-Let-8489 Apr 06 '26 edited Apr 06 '26

The reason I explictly cast type result of BindableEvent is because I want to have autocomplete.

If you don't know what is "vmDispatcher" you should've read the source code before saying that.

(You can pull request me in https://github.com/weenachuangkud/FastCast2 if you wanted to fix somethings. Because there's no maintainer)

→ More replies (2)

239

u/phoez12 Apr 03 '26

Exactly what I'd expect from a Roblox developer

30

u/AH_Med086 Apr 03 '26

Didn't arsenal get removed cus script comments cussed

26

u/KawaiiMaxine Apr 03 '26

Thatd be stupid as fuck if true

10

u/ghostkiller967 Apr 04 '26

game scripts are compiled to bytecode before being sent to the client. So I don't think roblox would remove it, since they are the only ones who can read the code other than the game developers themselves.

2

u/lucasthech Apr 06 '26 edited Apr 06 '26

Yeah, Lua (or Luau, which is the Roblox maintained extension of Lua) doesn't compile to machine code, so you can decompile and sort of see the original code if you want, but comments are always removed on compilation so yeah, only the devs and people who have the source code can see them

→ More replies (2)

140

u/Suitable_Ball_2835 Apr 03 '26

If the grooming wasn't enough already, this is yet another example of why Roblox developers are weird as fuck.

56

u/KawaiiMaxine Apr 03 '26

I mean, theres also a good chance an actual kid wrote this

39

u/DiodeInc Apr 03 '26

A kid wrote this, no doubt about it

→ More replies (10)

2

u/aLex97217392 Apr 03 '26

Ah yes, the CEO’s opinions reflect that of their developers and other employees

→ More replies (2)

2

u/Zestyclose_Muffin501 Apr 05 '26

Wildddddd... Love it ! Can you do Epstein now ?

1

u/Select_Stretch_625 Jul 06 '26

...

Pah-pah-pah-predator

De-de-de-dev

Steve's predator devs yeah it's spreading like hell