News for hackers. Stuff that matters.
Re:“I'm basically giving myself a permanent vacation from be... by bluecalm on Thursday July 12, 2018 @01:20PM (#17516712)
Well, the best option would be to have := (or any other operator) as C style assignment in the first place. This is huge backward compatibility breakage though so the second best option is to use =.

You can require additional brackets around assignment if you use the returning value (or otherwise it's syntax error). They did that with the new one anyway.

Re:“I'm basically giving myself a permanent vacation from be... by thomasahle on Thursday July 12, 2018 @03:02PM (#17517599)
> You can require additional brackets around assignment if you use the returning value (or otherwise it's syntax error). They did that with the new one anyway.

They only did it if the := is at the root level. The following is completely legal:

    if match := re.search(pat, text):
        `print("Found:", match.group(0))
or

    [y := f(x), y**2, y**3]
Re:“I'm basically giving myself a permanent vacation from be... by bluecalm on Thursday July 12, 2018 @04:03PM (#17518152)
Great, I haven't used := thing yet. I think it's more elegant like that.