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

These days, like since C# 1.0.


It's interesting to see the history of any given piece of syntax. This specific one is called augmented assignment or compound assignment: https://en.wikipedia.org/wiki/Augmented_assignment

+:= in Algol68

=+ in B

+= in C




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: