sconemad

technology, scones, nonsense

Loading...

Profiles

Twitter

GitHub

Launchpad

Subscribe to my RSS Feed

Admin

else if...

Posted on Mon 06 Feb 2012

I've just noticed how many different variations of "else if" syntax there are across different programming languages.

Perl uses elsif, and PHP uses elseif. But the one that really annoys me is that C and C++ use else if, but the C preprocessor uses elif (as do most UNIX shells). What a mess!

Updated on 2012-02-06 10:31:55 +0000 | Requested on 2019-05-26 06:00:42 +0000