2068
the beautiful code (programming.dev)
submitted 1 week ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 3 points 6 days ago

Reminds me of how in some old Unix system, /bin/true was a shell script.

...well, if it needs to just be a program that returns 0, that's a reasonable thing to do. An empty shell script returns 0.

Of course, since this was an old proprietary Unix system, the shell script had a giant header comment that said this is proprietary information and if you disclose this the lawyers will come at ya like a ton of bricks. ...never mind that this was a program that literally does nothing.

this post was submitted on 27 May 2025
2068 points (99.5% liked)

Programmer Humor

23626 readers
574 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