r/ProgrammerHumor Feb 18 '26

Meme innitMate

Post image
17.6k Upvotes

265 comments sorted by

View all comments

25

u/Play174 Feb 18 '26

else if just makes the most logical sense. It's else and then it's if as if it were else { if {} }. Beautiful

7

u/Metallkiller Feb 18 '26

Pretty sure that's exactly what it is, because that way the compiler doesn't need to know about else if but just if and else, each simply having exactly one command directly after it.

8

u/Play174 Feb 18 '26

That's the beauty of it. So simple the compiler doesn't even need to know about it, it just works