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

The forced indentation of 3000

Name: Anonymous 2007-08-31 17:26 ID:FWVhjd5S

It's pretty neat. Thread over?

Name: Anonymous 2007-09-01 13:00 ID:23DNOI+k

>>8
What is that supposed to return if not x and not z? Or is y supposed to be a statement?
Anyway, you can pass functions of course, you just can't pass def itself, which wouldn't make much sense in Python anyway, and alternatives like (disregarding the = statement):

f = function((x, y),
    ...
    )

Requires its own set of 'nigger rigs', like the ability to give code as arguments.
Which differences between lambda and def are you talking about? Lambdas have limitations, but they're hardly arbitrary. I'm not sure what and-or and if-else hacks you are referring to.

How would you have things like if, def and lambda look?

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