Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> With += there is no intended symmetry between operands, the left side is the receiver into which the right side is added.

I'm not sure I buy that, consider

a += b versus b += a

For integers, the result will be the same, it will just be placed in a different place. For lists, there are differences, but lists are more clearly directional in themselves. For dictionaries, the results can be entirely different.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: