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

In any reasonably written Go code, you wouldn't be doing multi-word slice / interface assignments often. Also most places happen to run go test -race.

To get rid of this issue, go must add a level of indirection or track aliasing at compile time; the tradeoff Go made here is perfectly reasonable.



Writing to maps is common




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: