Re: Function once: concern
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <002e01c469c7$e6f23d60$da01a8c0@walker> |
From: "Paul Prescod" > I'd encourage everyone to take a look at the examples in PEP 318. > > http://www.python.org/peps/pep-0318.html > > In my opinion, the keyword "outer:" is misnamed and overgeneralized. I > prefer Python's declarative approach. 1) PEP 318 has the advantage of not requiring the typing of "func = " 2) I don't see how PEP 318 would allow attribute assignment like "magic_ = True" 4) How would it allow static var assignment at def time? (You argued for this). 3) PEP 318 looks just as ugly to me.