this post was submitted on 18 Jan 2024
757 points (98.6% liked)

Programmer Humor

19291 readers
1160 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] fartsparkles@sh.itjust.works 14 points 8 months ago (2 children)

Is this a reference to something because I’d love to read it if you have a time to share.

[–] xx3rawr@sh.itjust.works 6 points 8 months ago (1 children)

Woah. I did a quick google and it's not just a meme, but actually used in some major lang's libraries.

[–] jjjalljs@ttrpg.network 4 points 8 months ago (1 children)

This is one of those "modern Google/search sucks" moments because I couldn't immediately find examples of it in a programming language.

[–] xx3rawr@sh.itjust.works 1 points 8 months ago

I actually used DDG and most I've seen, they're just used as arguments for functions notably in C and Python

[–] LeFrog@discuss.tchncs.de 5 points 8 months ago* (last edited 8 months ago)

It is used in ksh korn shell to see what executable responds to a command:

https://superuser.com/a/351995

Edit: Oh, what a rabbit hole: Why not use "which"? What to use then?