Random
Source Code

elsif

Concatenation of 'else' and 'if' found in some programming languages such as Ruby and Perl. This frankensteinian combination of the two words exists because it simplifies the abstract syntax tree that is generated to parse the language over the use of the more understandable 'else if'.

if banana.yellow?

eat()
elsif banana.green?

wait()
end

by rubyprogrammer January 3, 2014