Re:Go 1.18 Beta 1 is available, with generics
by metaltyphoon on Wednesday December 15, 2021 @06:02PM
(#29572676)
Except when you need to use struct tags, then everything is flimsy. I would rather have C#'s attribute over strings only.
Re:Go 1.18 Beta 1 is available, with generics
by throwaway894345 on Wednesday December 15, 2021 @08:36PM
(#29573813)
I haven’t had any problem with struct tags personally. I wish Python had some sane way to reliably auto marshal objects to JSON in the stdlib.
But Go has solid answers for these problems and an excellent static typing story (generics are gravy, but sum types would be nice). I’ve been very happy with Go on balance.