Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python 3 sucks

Name: Anonymous 2009-01-12 14:10

The third version of FIOC ( Python3000 for you cheese lovers ) is kind of lame, even lamer than classic FIOC. Minor changes suck and bigger ones weren't necessary.

Name: Anonymous 2009-01-13 0:27

>>21
lambda still sucks dicks.True. But that doesn't make Python 3 suck any more than Python 2.

No, but lambda being one of the most oft-complained-about bits of Python, I was kind of holding out hope that something would be done with it -- either allow a parenthesized lambda to wrap multiple lines, or get rid of it altogether to end the discussion on it.

I really don't see anything objectionable about something like
x = somefunc(1, 2, 3, (lambda (arg1, arg2):
    n = do_stuff(arg1)
    do_more_stuff(arg2)
    n), 'cocks', 'balls')

As long as the full lambda is parenthesized, and each following line uses the same indentation as the first.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List