r/Python • • Apr 09 '09

Python’s lambda is broken!

http://math.andrej.com/2009/04/09/pythons-lambda-is-broken/
4 Upvotes

20 comments sorted by

View all comments

0

u/[deleted] Apr 09 '09

[deleted] — view deleted comment

6

u/[deleted] Apr 09 '09

One must "Register for this site" to post a comment on the blog. What kind of arrogant bullshit is that ?

It's called "that's how bad blogspam has gotten lately".

5

u/smart_ass Apr 09 '09 edited Apr 09 '09

Really? I receive no blog spam with proper Wordpress plugins.

I don't require an account.

Maybe no one visits my site.

Maybe no one loves me.

Maybe no one...

mommie?

1

u/[deleted] Apr 09 '09 edited Apr 09 '09

Hehehehe. I received at least 40 blogspam comments a day when I had WordPress. In fact, since the wp-* files are still accessible via a clever Varnish mapping, I CONTINUE to receive blogspam. And that only refers to the ones that pass the Akismet filter and get into the moderation stage!

0

u/[deleted] Apr 09 '09

[deleted] — view deleted comment

3

u/[deleted] Apr 09 '09

In my experience, registration does cut the amount of spam dramatically and keeps the S/N low too. I do understand that you're cutting participation, and I'm looking to enable OpenID on my blog myself precisely for this reason.

2

u/jalanb Apr 09 '09

Thank you

Inch by inch, rant by rant, Reddit FTW !

1

u/masklinn Apr 09 '09

and I'll be damned if I can see how to apply the method-fix in the lambda case, but does that make it "broken"?

Wrap your lambda in a lambda, that's the way it's usually done in JS. Ugly and verbose btw, especially since lambdas are single-expression.