←back to thread

312 points chmaynard | 1 comments | | HN request time: 0s | source
Show context
sbinnee ◴[] No.45062385[source]
I am surprised that the walrus operator had to do with Guido's resignation. The walrus operator is awesome. There are so many cases you need a temporary variable in a control flow. The walrus is a beautiful way to handle it.
replies(4): >>45065832 #>>45065905 #>>45068295 #>>45072135 #
1. mixmastamyk ◴[] No.45065905[source]
The functionality is sound, but Python already had the “as” pattern available. So I still believe creating a third way to do assignment was a mistake.