this post was submitted on 09 Feb 2026
63 points (92.0% liked)

Programmer Humor

29635 readers
1214 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Alt text:

Transcendence meme template

function main() {...}

int main() {...}

void main() {...}

U0 main() {...}

/* HolyC example */
U0 Main()
{
 U8 *message = "hello world";
 "%s\n",message;
}
Main;
top 16 comments
sorted by: hot top controversial new old
[–] vala@lemmy.dbzer0.com 2 points 1 hour ago* (last edited 1 hour ago)

Honestly kinda weird to see something I made and posed 2 days ago reposted on this community with my my exact title and alt text but no acknowledgement.

f () {...}

also, (nix)

f = x: x
[–] aaaaaaaaargh@feddit.org 19 points 23 hours ago

I wasn't aware it has a Logo:

[–] marcos@lemmy.world 9 points 1 day ago

You know somebody is really lost when they decide the empty set is a subset specifically of unsigned integers and nothing else.

[–] arcterus@piefed.blahaj.zone 3 points 1 day ago (1 children)

What is the Main; at the end? Is this like a scripting language where having something like main() is just an idiom? Also is printf() like built-in or something?

[–] bitcrafter@programming.dev 8 points 1 day ago (1 children)

Yes, it is the scripting language of TempleOS.

[–] arcterus@piefed.blahaj.zone 1 points 1 day ago

I knew it was from TempleOS, didn't realize it was actually a scripting language though.

[–] themoken@startrek.website 4 points 1 day ago (2 children)

Okay, U8, sure, but a boolean is U0? Surely U1 if you absolutely must...

[–] jh29a@lemmy.blahaj.zone 24 points 1 day ago

well I'd assume U0 is the void type. since it contains no data

[–] Quetzalcutlass@lemmy.world 13 points 1 day ago (1 children)

I think it's equivalent to void, not a boolean.

[–] themoken@startrek.website 3 points 1 day ago (1 children)

Oh, that makes more sense, but then "unsigned" void?

[–] Kacarott@aussie.zone 13 points 23 hours ago

Tbf, unsigned void makes more sense than signed void

[–] wewbull@feddit.uk 3 points 1 day ago (1 children)
[–] Kacarott@aussie.zone 7 points 23 hours ago (1 children)
[–] sga@piefed.social 4 points 17 hours ago

what does i0 even mean, like what is the sign even for

[–] flandish@lemmy.world 2 points 1 day ago

what an interesting story. truly a gem.