← Back to Submind

Topic

python community

The most controversial Python feature | Walrus operator

Lex Fridman

The Walrus operator, formally known as the assignment expression or `:=`, was introduced to Python 3.8 following a contentious period involving significant drama and toxicity within the community. This feature enabled developers to combine an assignment operation with its return value into a single …