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

Golang does that, right (++ is a statement, not an expression)?


Yes. Go's assignments, increments, etc cannot be used as expressions.




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

Search: