3 ms·
Golang uses : to assign in struct initialization and := for new variable assignments so there is some prior art. Practically speaking I find : to be challengin
by bhawks 4y ago
Golang uses : to assign in struct initialization and := for new variable assignments so there is some prior art.
Practically speaking I find : to be challenging to quickly scan out of source visually. In golang this objection is muted slightly because struct initialization usually ends up being clearly indented by the formatter.