
July 22, 2010
3:37 p.m.
On Thu, 22 Jul 2010 16:54:58 +0100 Georg Brandl <g.brandl@gmx.net> wrote:
You raise a good point. However, I'd rather explicitly signify names instead of keywords:
for $boo in $foo: if $boo is $None: print($hoo) else: return sorted($woo)
That also has the advantage of introducing a measure of much needed compatibility with industry-leading web programming languages.
Also, Python would gain much needed flexibility if we allowed indirect name lookup using `$$foo`. Current abstractions are too poor compared to best-of-breed OO languages such as PHP or Perl 5.