r/ProgrammerHumor • • Jun 16 '20

Meme Meanwhile.

Post image
50.6k Upvotes

2.9k comments sorted by

View all comments

Show parent comments

132

u/[deleted] Jun 16 '20

Although I cringed when I saw/heard it yesterday for the first time, allowlist and blocklist could actually make more sense than blacklist and whitelist.

59

u/cowsrock1 Jun 16 '20

That extra syllable though :(

23

u/HardlightCereal Jun 16 '20

Letlist and Blocklist

21

u/732 Jun 16 '20

Golist and Stoplist

28

u/Gabcab Jun 16 '20

Yeslist and Nolist

40

u/[deleted] Jun 16 '20

My company didn't know about blacklist/whitelist when developing our software so we've been stuck with block/allow since the 90s. FeelsGoodMan

3

u/MattieShoes Jun 16 '20

Unix tends towards "allow" and "deny"... e.g. /etc/hosts.allow and /etc/hosts.deny

Though when you have both, you have to decide which to apply first.

0

u/[deleted] Jun 16 '20

[deleted]

1

u/[deleted] Jun 16 '20

Could you give an example?

1

u/deathberry_x Jun 16 '20

If there's one thing to takeaway from my college days is that the variable name shd be as self explanatory as sensibly possible. Naming my variable asdf and asdff didnt help a lot when i relooked at it the next day with a hangover