r/programminghorror • • Sep 04 '26

c++ Skill Issue

Post image
1.7k Upvotes

63 comments sorted by

View all comments

Show parent comment

2

u/click-to-reveal Sep 04 '26

Yeah, you're right but not sure what you trying to get at. If you want to try the code for yourself, tre here: C++ Online Compiler

1

u/turunambartanen Sep 04 '26

The strings make it look like there might be user input, but it's all just constants, and simply evaluates to the default case. That's somewhat confusing.

1

u/click-to-reveal Sep 04 '26

Well I did post this without context. The original comment was a parody of the post.

1

u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: Sep 04 '26

So wait, you're telling me that I don't have to download C++ on my computer and this works perfectly fine on mobile? /s