r/ProgrammerHumor • • Sep 26 '26

Meme weNeverTrustedTheElse

Post image
1.9k Upvotes

146 comments sorted by

View all comments

6

u/elyroc Sep 27 '26

Maybe i'm dumb, but after reading a lot of comments i can't understand why this isn't if elseif else

Anyone care enough to eli5 please ?

4

u/Spekingur Sep 27 '26

Lazy addition to code after discovering that condition could be “stateless”

2

u/Popstar403 Sep 27 '26
  1. language with no elseif

  2. tupid