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

They list those under "compound assignment operators", which makes sense given that += and -= are found in all of these languages. It's also worth noting that compound assignment operators do not form expressions in Python. So "i++" in PHP/Perl/Ruby is very different from "i += 1" in Python.


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

Search: