
21 Jul
2010
21 Jul
'10
10:36 p.m.
On Wed, Jul 21, 2010 at 2:58 PM, Nick Coghlan ncoghlan@gmail.com wrote:
On Thu, Jul 22, 2010 at 1:51 AM, Bruce Leban bruce@leapyear.org wrote:
let me toss in an alternative syntax: given: suite do: suite
However, writing it that way has even less to offer over ordinary local variables than the postfix given clause.
Perhaps. I do think it looks more like Python. The PEP says it's "some form of statement local namespace". If that's the advantage, this alternative offers it. If the advantage is that it introduces a different execution order, then the PEP should make the case for that.
--- Bruce http://www.vroospeak.com http://google-gruyere.appspot.com