HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lenzm

no profile record

comments

lenzm
·3 mesi fa·discuss
If it doesn't have any effect, why bother protesting?
lenzm
·7 mesi fa·discuss
They are like PDFs in that they do not render the same with different software or on different devices.
lenzm
·9 mesi fa·discuss
Yes, that's exactly what I want. Everything shifts with dst - business processes, people's working hours, ach windows, ...
lenzm
·10 mesi fa·discuss
[flagged]
lenzm
·10 mesi fa·discuss
It has been years, when will it not be too early?
lenzm
·10 mesi fa·discuss
Yes, it gets a trailing comma if it's on it's own line. That way when you add/remove arguments in a multi-line call it's only a one-line diff. This doesn't apply when the diff is only one line anyway.

Who's to say you don't add a new argument to the function in the future, like

    my_print(
        "This string has two parameters, `a` which is equal to {a} and `b` which is equal to {b}",
        a=1,
        b=2,
        color_negative_red=True,
    )