logoalt Hacker News

Twirrimtoday at 6:05 PM0 repliesview on HN

I've seen stuff posted about chained assignment footguns in python regularly over the years, and it always surprises me. I don't think I've ever written them, or reviewed code that does. I don't think it'd occur to me to even think about writing a chained assignment.

Is chained assignment a pattern that comes from another language that people are applying to python?