Re:First chapter of Kernighan and Donovan's new Go book [pdf]
by jerf on Monday October 19, 2015 @06:21PM
(#10416202)
The point is that if I'm using stuct literals, I want the compiler to stop me for those structs.
I'm explicitly rejecting the idea that all struct changes should be possible without producing compiler errors. Compilers errors when the guarantees your code is based on changes is a feature, not a bug.
I'm explicitly rejecting the idea that all struct changes should be possible without producing compiler errors. Compilers errors when the guarantees your code is based on changes is a feature, not a bug.