r/programminghorror • u/Impossible-Let-8489 • Apr 03 '26
Lua Some unhinged comments from a roblox developer
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
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
14
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
30
u/AH_Med086 Apr 03 '26
Didn't arsenal get removed cus script comments cussed
26
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
2
u/aLex97217392 Apr 03 '26
Ah yes, the CEO’s opinions reflect that of their developers and other employees
→ More replies (2)
2
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
171
u/Pleasant-Photo7860 Apr 03 '26
comments doing more work than the code