(no) fast boolean evaluation ?
horpner at yahoo.com
Fri Aug 3 16:32:32 CEST 2007
On 2007-08-03, Steven D'Aprano <steve at REMOVE.THIS.cybersource.com.au> 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:
> else if another_condition:
> 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.
More information about the Python-list