News for hackers. Stuff that matters.
Re:What's Coming in Python 3.8 by owaislone on Wednesday July 17, 2019 @09:19PM (#20465751)
If feel Go solves this in a much more readable way.

    if m := re.match(...); m {
        ... do something ...
    }

Still not as readable as splitting it over multiple lines but quite a lot better than Python's syntax IMO especially once you learn how the if statement works in Go.
Re:What's Coming in Python 3.8 by mkl on Wednesday July 17, 2019 @09:58PM (#20466002)
How is that more readable? It's identical except for ":" -> ";", and some extra symbols added. Needing to repeat "m" seems seems redundant, and particularly bad for readability as it moves the actual condition far away from the "if".
Re:What's Coming in Python 3.8 by owaislone on Friday July 19, 2019 @01:43PM (#20480828)
It is better IMO because it doesn't merge two things into one. It simply translates to `if <assignment>; <condition> { <body> }` as a generic rule. Variable used in condition may or may not be the same one in assignment. Bundling assignment and condition is what people don't like about this feature.