this post was submitted on 09 Feb 2026
82 points (92.7% liked)

Programmer Humor

29691 readers
1879 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
[–] aaaaaaaaargh@feddit.org 22 points 3 days ago

I wasn't aware it has a Logo:

[–] vala@lemmy.dbzer0.com 4 points 2 days ago* (last edited 2 days 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.

[–] marcos@lemmy.world 13 points 3 days ago

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

f () {...}

also, (nix)

f = x: x
[–] arcterus@piefed.blahaj.zone 6 points 3 days 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 3 days ago (1 children)

Yes, it is the scripting language of TempleOS.

[–] arcterus@piefed.blahaj.zone 4 points 3 days ago

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

[–] themoken@startrek.website 4 points 3 days ago (2 children)

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

[–] jh29a@lemmy.blahaj.zone 30 points 3 days ago

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

[–] Quetzalcutlass@lemmy.world 16 points 3 days ago (1 children)

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

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

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

[–] Kacarott@aussie.zone 13 points 3 days ago

Tbf, unsigned void makes more sense than signed void

[–] wewbull@feddit.uk 3 points 3 days ago (1 children)
[–] Kacarott@aussie.zone 9 points 3 days ago (1 children)
[–] sga@piefed.social 4 points 3 days ago

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

[–] flandish@lemmy.world 2 points 3 days ago

what an interesting story. truly a gem.