this post was submitted on 06 Aug 2023
170 points (94.3% liked)

Programmer Humor

32361 readers
425 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 11 comments
sorted by: hot top controversial new old
[–] leftbones@lemmy.ml 50 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

[–] LostXOR@kbin.social 27 points 1 year ago (2 children)
[–] XPost3000@lemmy.ml 11 points 1 year ago

That's cursed

[–] LostXOR@kbin.social 3 points 1 year ago* (last edited 1 year ago)

Just got a badge for sharing that link. :D
https://imgur.com/a/YEY7rYi

[–] xilliah@beehaw.org 25 points 1 year ago

Apparently my brain compiler does hang. Where's that whiskey.

[–] bool@lemm.ee 23 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.

[–] nihilomaster@lemmy.ml 24 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".

[–] pizzaiolo@slrpnk.net 7 points 1 year ago (1 children)
[–] dandroid@dandroid.app 28 points 1 year ago (1 children)

That's what you're getting out of this?

[–] akariii@lemmy.blahaj.zone 8 points 1 year ago

that is absolutely the only issue in this image

[–] StarkillerX42@lemmy.ml -5 points 1 year ago

Mrw I read my coworker's code comments