159
submitted 1 week ago* (last edited 1 week ago) by akunohana@piefed.blahaj.zone to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] one_old_coder@piefed.social 32 points 1 week ago

In C++, main MUST return int, but it can be omitted, like int main() { }

If the Pico is a microcontroller without an OS, it's not supposed to "return," it makes no sense. It's like saying "what will you do after you are dead?" You're supposed to loop forever or something.

But I may be wrong...

[-] akunohana@piefed.blahaj.zone 17 points 1 week ago

No, you're right, a single program runs at a time.

this post was submitted on 18 Nov 2026
159 points (98.8% liked)

Programmer Humor

34316 readers
1496 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 3 years ago
MODERATORS