On Monday 13 June 2005 11:09 pm, Ron Adam wrote:
> John Roth wrote:
> > "Ron Adam" <[EMAIL PROTECTED]> wrote in message 
> > news:[EMAIL PROTECTED]
> > The difficulty you're having with this is that else
> > is a very bad keyword for this particular construct.
> > I'd prefer something like "on normal exit" as
> > a keyword.
> 
> It's not a difficulty.  This is the point I was making.  :)
> 
> My suggestion is to use, also as the keyword to mean "on normal exit" 
> 'also' do this.

Unfortunately, "also" is also a bad keyword to use for this, IMHO.
I don't find it any more intuitive than "else".  (And since your idea
would break if-else code, I don't think it would be allowed, anyway).

I can't think of what would be a better keyword, though.  :-/

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com

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

Reply via email to