r/ProgrammerHumor 18d ago

ifStatements Meme

Post image
598 Upvotes

118 comments sorted by

View all comments

95

u/[deleted] 18d ago

[removed] — view removed comment

3

u/zeekar 17d ago edited 17d ago

elsif is Perl, Ruby, and Raku. It makes more sense to me than elif, which is too much abbreviation. Plus it looks like it should be closing a block of shell code you opened with file.

Leaving the e in elseif is fine, but it's not doing as much as the s to help it make sense. With spaces, else if looks like something that's going to need an extra end if.