Why is "while" ticking me off???

Jason Cunliffe jasonic at nomadicsltd.com
Sat Oct 7 19:33:48 EDT 2000


> Personally, if I wanted to tinker with Python's syntax, my first choice
> would be to turn "elif" into "else if".  Perhaps there's some
> parser-related reason this won't work, but I'm always bugged by "elif"
> because I can never remember whether it's "elif", "elsif", or "elseif".
> (BTW, if one _had_ to make "else if" into a single keyword wouldn't the
> last make one make the most sense?  But I suppose that Guido thought it
> was best to follow the poor precedent of C...)

I know what you mean...

My mnemonic to remember 'elif' is 'helluva way to write else if' !!!

try it :-)

hth
- Jason





More information about the Python-list mailing list