golang / tour

[mirror] A Tour of Go
BSD 3-Clause "New" or "Revised" License
1.54k stars 521 forks source link

tour: [Coverage of Generics is too sparse] #1423

Open bdutta opened 1 year ago

bdutta commented 1 year ago

Context: https://go.dev/tour/generics/2

The coverage of 'Generics' is extremely light in the Tour Of Go, compared to many other topics s.a. slices, interfaces etc. I understand that Tour Of Go, is only a Tour, but then the 2 slides on Generics, don't seem to convey much. This is quite different for most other topics in the Tour, where a person who is familiar with at least one more programming language, will have no issues in understanding.

slymz commented 1 year ago

sorely lacking in substance indeed. At a minimum, methods on a generic types should be shown along with a few examples.

brendalf commented 5 months ago

Hi there. I proposed on https://github.com/golang/go/issues/67904 to add at least one exercise in the generics section.