why not extending the syntax for classes, too ?
mis6 at pitt.edu
Sun Feb 9 15:09:13 CET 2003
Erik Max Francis <max at alcyone.com> wrote in message news:<3E45EA12.5BA3A0F9 at alcyone.com>...
> Michele Simionato wrote:
> > Sorry, I meant: for functions I would accept both "is" and "as".
> > If you say "is" is bad because it means identity, I would
> > agree with you; if Holger says "as" is bad since it means renaming, I
> > would agree with him.
> Because it means renaming what?
This is a rethorical question, isn't it ?
Holger has already explained why "as" can be as confusing as "is".
As I said, in both cases, the probability to be confused is 0.000001%.
You cannot convince me "is" is more confusing than "as" or of the contrary.
More information about the Python-list