3 ms·
Correct. The _type_ for main would be (is) func(int, *[]byte) int but the function _declaration_ should be (by the logic of the article and the stated inten
by igravious 16y ago
Correct. The _type_ for main would be (is)
func(int, *[]byte) int
but the function _declaration_ should be (by the logic of the article and the stated intentions of their design decisions)
main func(argc int, argv *[]byte) int
and not
func main(argc int, argv *[]byte) int
because the variable name should come first as in
x int
and not
int x
In this way I fee that they have, if not failed, at least deviated from their stated or implied mission. But you're right, the type reads left to right.