4 ms·
On the subject of "call me lazy", I really like the % syntax for string interpolation. I'd like perl-style interpolation even more. "".format() is going in comp
by philh 12y ago
On the subject of "call me lazy", I really like the % syntax for string interpolation. I'd like perl-style interpolation even more. "".format() is going in completely the wrong direction for me. (I don't think % is being removed, but I think it's discouraged.)
> lambda (x, y): x + y
This syntax is removed in python 3: http://legacy.python.org/dev/peps/pep-3113/ http://legacy.python.org/dev/peps/pep-3113/
- 0942v8653 12y agoI'm still not sure why that was deprecated. It's much cleaner. I still use it… :/
- GFK_of_xmaspast 12y agoIdeology.