Elseif?

No, actually it makes less possible to have a messed-up if statement.
Note the visual place between the two <code>end</code> statements. This might be an aid to catch logic problems.
I do it all the time.

···

I have now additional thing to shun -avoid constructs using elsif(elseif).
Just use simple if-else-end construct and nest them if needed.

like:

if cond
   ...
else
  if cond
         ...
  end
  .....
end

my principle is to avoid "conflict" as much as possible -lesser things to
think, lesser things to worry. KISS still applies...

Btw, I vote for "elseif" if ever... else if... :slight_smile:

kind regards,
-botp