Hacker News new | ask | show | jobs
by Ragib_Zaman 2238 days ago
It's useful when the object being assigned to those variables are literals instead of reference types, which in my experience is most of the time when you want to do the simultaneous assignment. When you do want to do reference types, you can do a,b = [], [].