News for hackers. Stuff that matters.
Re:What are the drawbacks of Python? by emidln on Saturday September 08, 2012 @02:32PM (#4493589)
I really wasn't awake when I wrote this, because that second example is awful. It should be:

  {k:v for k, v in something.iteritems() if v == 3}
vs

  dict(filter(lambda x: x[1] == 3, something.iteritems()))

There are no comments on this comment yet.