When compiled with a C Compiler and run it will print “C”. When reversed, compiled and run it will print “Minecraft Function”.
This code also runs in the Minecraft Function language. It will print “Minecraft Function”. Similarly, if reversed and run, it will print “C”.
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
Posts must be relevant to programming, programmers, or computer science.
No NSFW content.
Jokes must be in good taste. No hate speech, bigotry, etc.
Apparently my brain compiler does hang. Where’s that whiskey.
Horrible variable naming
That’s what you’re getting out of this?
that is absolutely the only issue in this image
Does this code actually mean anything? I’ve been staring at it for a few minutes and I can’t get anything out of it
Yeah, it’s a Code Golf answer.
That’s cursed
Just got a badge for sharing that link. :D
https://imgur.com/a/YEY7rYi
I’m going crazy, but if this compiles at all I bet it generates the same machine code when compiled with each line reversed.
When compiled with a C Compiler and run it will print “C”. When reversed, compiled and run it will print “Minecraft Function”. This code also runs in the Minecraft Function language. It will print “Minecraft Function”. Similarly, if reversed and run, it will print “C”.
Mrw I read my coworker’s code comments