I'd propose to amend specification so the type parameter identifiers were of A-Z set, ie. single uppercase ascii letter. While it is a current convention, it would be better to have this convention forced by compiler. First to have an additional cue "generics here", second - to close an easy avenue to hide cloudy or malignant constructs in the source.
= induced by conversation spotted in other thread: > Carla Pfaff via golang-nuts" <golang-nuts@googlegroups.com> wrote: >> m8il...@gmail.com wrote: > On Tuesday, 19 January 2021 at 15:39:25 UTC+1 m8il...@gmail.com wrote: > > > Seems to me that most generics implementations use a capital letter > > abstracted type syntax that I hate. > > This is just a convention and not part of the syntax, which means it's > irrelevant to the discussion about the proposal. You can easily use > lowercase letters/identifiers: https://go2goplay.golang.org/p/eWgJSLNTZw8 -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/20210120033232.7492029f%40xmint.