HackerTrans
トップ新着トレンドコメント過去質問紹介求人

lenzm

no profile record

コメント

lenzm
·3 か月前·議論
If it doesn't have any effect, why bother protesting?
lenzm
·7 か月前·議論
They are like PDFs in that they do not render the same with different software or on different devices.
lenzm
·9 か月前·議論
Yes, that's exactly what I want. Everything shifts with dst - business processes, people's working hours, ach windows, ...
lenzm
·10 か月前·議論
[flagged]
lenzm
·10 か月前·議論
It has been years, when will it not be too early?
lenzm
·10 か月前·議論
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,
    )