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

My biggest annoyance so far is the inability (and inconsistency) to have a one-liner to get a pointer to something else than a struct.

I can write x = &Foo{...} but somehow x = &42 and x = &foo() are not allowed, which forces me in some cases to declare useless variables that hurts readability.



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

Search: