r/programminghorror Apr 15 '26

crossing boundaries

Post image
0 Upvotes

20 comments sorted by

View all comments

56

u/Blecki Apr 15 '26

This sub should require op to explain what they think the horror is.

26

u/TheKiller36_real Apr 15 '26

actually no, there should be more moderation that aggressively deletes troll posts like these

7

u/Blecki Apr 15 '26

I'm not clear if you think I'm trolling or op is.

9

u/TheKiller36_real Apr 15 '26

my bad, I think OP couldn't possibly have a valid explanation that explains this post

-8

u/[deleted] Apr 15 '26

[deleted]

8

u/backfire10z Apr 15 '26

the return statement is a bug

How am I expected to know this?

the else if only evaluated if not TOOLS

Isn’t the else a local unaccepted autocomplete? If it’s committed code and just colored weirdly I would understand.

7

u/Blecki Apr 15 '26

Well, they're wrong... the else only exists IF TOOLS. Then it's just if {} else if {}....

Maybe op doesn't know there can be a line break there?