News for hackers. Stuff that matters.
Re:Show HN: Python-to-Python compiler for some 3.6 features ... by spott on Thursday April 27, 2017 @12:08PM (#14212577)
> I like lambda a, b: a + b syntax better than lambda a_b: a_b[0] + a_b[1]

uh, `lambda a,b: a + b` works in 3.6...

> I prefer ... to return lists rather than iterable:

Why? I'm just curious. Iterables are much more flexible than lists, unless you need random access... at which point list(...) works pretty well.

Re:Show HN: Python-to-Python compiler for some 3.6 features ... by c8g on Friday April 28, 2017 @03:07AM (#14217451)
he mean `map(lambda (a, b): a+b, [(1, 2), (3, 4)])`