this post was submitted on 06 Aug 2023
16 points (94.4% liked)

Programmer Humor

32050 readers
1463 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 6 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

I'm going crazy, but if this compiles at all I bet it generates the same machine code when compiled with each line reversed.

[–] [email protected] 3 points 1 year ago

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".

[–] [email protected] 2 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago

That's cursed

[–] [email protected] 0 points 1 year ago

Mrw I read my coworker's code comments