234 karma · joined Mar 11, 2025 (1y ago) · 122 submissions
comment 2mo ago · link · parent
There is an optimization for lists, and maybe that's what GP is remembering. l += is functionally different from l = l +. The former mutates l, whereas the latter creates a new l. The difference matters when the line above is m = l. The mutation version will mutate m as well (they're the same reference), the creates new version will not. This optimization can just as easily turn into a footgun if the programmer is unaware of it, and in that sense is unpythonic.
comment 2mo ago · link · parent
comment 2mo ago · link · parent
The fact is that there are no synergies for many companies, even companies operating in the same industry. The reason for promoting a merger between such companies is exactly that they will see reduced competition and hence greater profitability. The ideal merger is actually between companies making different products, where the one company can benefit from more vertical integration.
comment 5mo ago · link · parent
comment 5mo ago · link · parent
A reframing that would have the power to lower collisions between cars and bikes would be to blame the road design, or even the car design. These are things that can be easily changed for a large number of people if enough political will exists.
comment 6mo ago · link · parent
comment 6mo ago · link · parent
comment 6mo ago · link · parent