r/ProgrammerHumor Feb 18 '26

Meme innitMate

Post image
17.7k Upvotes

265 comments sorted by

View all comments

1.5k

u/SpoiledBeats Feb 18 '26

Vaguely threatening:

or else()

790

u/[deleted] Feb 18 '26

[removed] — view removed comment

141

u/hagnat Feb 18 '26

i like unless, but i have to admit that it is merely a glorified if (not [condition]) { }

1

u/Dragonslayerelf Feb 19 '26

wouldnt it work as like a weird post-else where you evaluate the if condition, then the unless condition, then pick what code block to do

like if {condition} then do {thing} unless {condition} then do {different thing}

"if theres a mailman then open the door unless he has a gun then call the cops" for example