Python3k extended grammar

Florian Weimer fw at deneb.cygnus.argh.org
Thu May 25 16:24:40 EDT 2000


Hrvoje Niksic <hniksic at iskon.hr> writes:

> The proposed syntax looks like a Pascal-inspired abomination.  I hope
> it dies as soon as possible.

Do you mean "def foo(a : integer; b : some_type) return result_type"?
Actually, I quite like it.  It reminds of my favorite programming
language (which I don't dare to name in this forum ;).

> > Nobody knows yet. It's possible that it'll be case insensitive,
> 
> *vomit*

I don't like case insensitivity as well because case sensitivity
enforces uniform spelling of identifiers.  On the other hand, I
despise code which exploits case insensitivity extensively, lacking
any obvious pattern.

For the programming language not to be named, there is at least
one implementation which optionally enforces consistent casing of
identifieres naming the same object, although the language per se is
case insensitive.

> So every instance of "foo = Foo()" where Foo is the class and foo is
> the instance will have to be changed to something really ugly.

Okay, there *is* an obvious pattern in this case. ;)



More information about the Python-list mailing list