News for hackers. Stuff that matters.
Re:Python Lists vs. Tuples by BerislavLopac on Saturday August 20, 2016 @07:30AM (#12326091)
Sometimes this convention falls apart, e.g. when constructing HTML tags it is easier (and more readable) to write:

    return '<a href="{}">{}</a>'.format(url, text)
than

    return "<a href=\"{}\">{}</a>".format(url, text)
Especially for a lazy developer like me... :)
Re:Python Lists vs. Tuples by gsnedders on Saturday August 20, 2016 @04:28PM (#12328178)
Why not just use single-quotes in the HTML?
Re:Python Lists vs. Tuples by nerdponx on Monday August 22, 2016 @01:06PM (#12337730)
Fair. But I would consider those to be unformatted text, not symbols.