News for hackers. Stuff that matters.
Re:Ask HN: Is Python dying? by aldanor on Tuesday February 16, 2016 @04:22AM (#11108730)
Yes but then you can map things more easily without having to create partials, and it's consistent with how all other methods work in Python (e.g. format method)

    >>> phrases = [['a', 'b', 'c'], ['d', 'e']]
    >>> print(list(map('-'.join, phrases)))
    ['a-b-c', 'd-e']

There are no comments on this comment yet.