The four data structures every Go program is built from, and the sharp edges each one hides: a slice as a three-word header that can alias its neighbours, a map whose entries have no address, a string that is bytes rather than characters, structs and embedding as composition, and type parameters — with an honest account of when generics are the wrong reach.
No reviews yet.