On 2007-08-03, Steven D'Aprano <[EMAIL PROTECTED]> wrote:
> But that's specific to the syntax of the language. You could,
> if you choose, design a language where elif was unnecessary:
>
> if condition:
>     pass
> else if another_condition:
>     pass
>
> What advantage is there to "elif", apart from it needing three
> fewer characters to type?

It's a great boon to the authors of auto-indenting text editors.

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to