Kirby Urner wrote:
[ lots of fun and good stuff ]
class Function:
def __init__(self, f):
self.f = lambda x: f(x)
...
Here you missed a simplicity bet (one of my two big pet peeves):
class Function:
def __init__(self, f):
self.f = f
...
For the
Hi Scott:
Here you missed a simplicity bet (one of my two big pet peeves):
class Function:
def __init__(self, f):
self.f = f
...
Yes, good one.
For the curious, the other peeve is:
def function(...
if expression:
return
Kirby Urner said unto the world upon 2005-02-01 23:57:
SNIP
Thanks for sharing your peeves. If you get any more pets, please
share them too.
Kirby
Hi,
I'd just like to mention the page
http://www.python.org/moin/DubiousPython and encourage peeved people
to help the wiki grow.
Best to all,
-Original Message-
From: Kirby Urner [mailto:[EMAIL PROTECTED]
Sent: Saturday, January 29, 2005 11:18 AM
To: 'Arthur'; edu-sig@python.org
Subject: RE: [Edu-sig] re: Naming in Python
Hi Art --
I've been thinking about your observation, but haven't come up with a
really
I'll sink to commenting on my own post. Not the first time.
Sobering up - I still think the observation has real substance.
Though it is only an insight to the extent that it is non-obvious. I
guess
that depends on who you are and where you are coming from.
It took me a while to get