Hacker News new | comments | show | ask | jobs | submit login

For most use cases where you want map/filter/etc, you can chain list comprehensions using generators.

You have no relevant comment on what I wrote either, I take it? Here I asked for references about the GP's claims.

Also, welcome to HN (or are the prepared troll accounts with a few hundreds of Karma running out? :-) ).

Sorry, I wasn't trying to troll you.

You asked about multi-line lambdas in python and I gave you a valid Python syntax for multi-line anonymous functions. Here is PEP 202, which simply says list comprehensions are more concise than for loops and map/filter etc.


RE: accounts - I delete all of my accounts on social websites once a year.

  | (or are the prepared troll accounts with
  | a few hundreds of Karma running out? :-) )
Keepin' it classy.

Considering the way Python people have been trolling most every Perl discussion for the last few years when I've been on HN, I feel like I'm in orbit compared to people in the mud...

I might also note that I got two non sequitur answers in a row, so a joke like that is imho not an extreme reaction. Hardly as sarcastic as you was over a joke, at least...

Edit: I might also note that this article (76 votes) is 5 places below another roughly equally old article (8 hours) with 13 votes. So it is probably flagged to Hell. I do feel classy, compared to some others.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact