▲ | ActionHank 4 days ago | |
I don't really use golang all that much and even I was confused about OP's point because of the different depths. I feel like sometimes people just want to complain. | ||
▲ | divan 3 days ago | parent [-] | |
I think author just used to having consistency in Go. If you learned behaviour of one aspect of the language (i.e. compile-time error for conflicting field names), you would expect to have it in all cases. And that's not what's happened in the given example. |