int *i, j;
is more than a good enough reason for me. Makes interviews interesting, though: "Why are you repeatedly writing your variables and function parameters incorrectly?" int *i, j;
is more than a good enough reason for me. Makes interviews interesting, though: "Why are you repeatedly writing your variables and function parameters incorrectly?" var i int*
var j int
My apologies if this seems like a simple question: I haven't played with the language enough to know :)[EDIT: Sorry, I didn't realize how to format code!]
var i *int
Unlike C, values are always initialized in Go.