I was never a big fan of the if..elsif
construction in Perl with the mandatory BLOCK. I always preferred the C-style approach in which the dependent statement was just a statement, which could be a compound statement or not. However, just this afternoon I had some code in a C-style language like:
I then commented out the unnecessary statement. Oops.
Update: I realize Perl is one of many languages that uses this construct. It just happened to seem especially relevant here.