in reply to Re: Perl fan being tempted with Python in thread Perl fan being tempted with Python
Is that really true, closures will be removed from python (can you provide a link to Guido's statement?) If so, I would strongly advise against learning such a crippled language. To me it sounds stupid to remove such a important and basic high-level feature (that I use a lot (in lisp and perl), I might add).
Re^3: Perl fan being tempted with Python
by Fletch (Bishop) on Jun 17, 2005 at 12:51 UTC
|
No, they're actually being added in a form inspired by Ruby's block mechanism (but with a wonky (IMHO) syntax, go figure). And I can't find an actual quote, but I'm in good company recalling that's how he felt (see this interview with MJD where he recounts something similar; last paragraph of his first response). My point was that I'm not hopeful for whatever implementation gets shoehorned on given the past view he's expressed towards the concept.
--
We're looking for people in ATL
| [reply] |
Re^3: Perl fan being tempted with Python
by adrianh (Chancellor) on Jun 17, 2005 at 20:24 UTC
|
Is that really true, closures will be removed from python (can you provide a link to Guido's statement?)
Last I heard Guido had proposed to remove lambda from Python earlier this year. Python does now have generators (aka coroutines) which makes its potential absence less of a pain.
| [reply] |
|