4 ms·
>>> Hey, we don't like this feature anymore, is anybody using it?" >> Yes, we're using it" > Okay, it's gone" [rage] The one thing I agree with in the threa
by klyrs 5y ago
>>> Hey, we don't like this feature anymore, is anybody using it?"
>> Yes, we're using it"
> Okay, it's gone"
[rage]
The one thing I agree with in the thread is the confusion of
foo = lambda (x,y): x+y
foo(1,2) #boom
I think a better approach would be to raise warnings when sole parameters are parenthesized, unless written as
foo = lambda (x,y),: x+y
which is kinda gross, but cogent with the weirdness of singletons:
a, = [1]
b = (1,)
c = 1,
Alas, I've never had Guido's ear, so I shout into the void.