"also" to balance "else" ?

Ron Adam rrr at ronadam.com
Tue Jun 14 01:07:19 EDT 2005


Terry Hancock wrote:

> On Monday 13 June 2005 11:09 pm, Ron Adam wrote:

>>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).

Hi Terry,

How would it break the current if-else?

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

Well there's 'not-else' or 'nelse'  Ack!  Just kidding of course.

Yes, I can't think of anything that has the same meaning that would 
work.  'And' would be the English language alternative to "else", but 
it's already used of course.


Regards, Ron




More information about the Python-list mailing list