Hacker News new | ask | show | jobs
by Seb-C 1591 days ago
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.