News for hackers. Stuff that matters.
Re:Having a Go - first time experience with Golang by jesstaa on Monday July 09, 2012 @10:28AM (#4218338)
1. Reversing type and variable/parameter name is just aesthetics I guess but it still really bothers me. Perhaps there's a reason.

The reason is that it is much easier to read for more complex types. eg. function pointer in C: int (*pt2Function)(float, char, char);

function pointer in Go: var pt2Function func(float32,byte,byte) int

Try writing a type that is a pointer to a function that returns a function in C. It's a bit mind bending.

There are no comments on this comment yet.