"Andrew Koenig" <[EMAIL PROTECTED]> wrote:
> 
> 
> > My problem with this syntax is that it can be hard to read:
> > 
> > return if self.arg is None then default else self.arg
> > 
> > looks worryingly like
> > 
> > return NAME NAME.NAME NAME NAME NAME NAME NAME NAME.NAME
> > 
> > to me.
> 
> Interesting.  What about
> 
>       return if self.arg is None: default else: self.arg

That's awful.  It would confuse everyone as to why LCs and GEs don't
have punctuation while these do.  In that sense, I am not convinced that
it should have keywords AND punctuation, one or the other.

 - Josiah

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to