On Sunday, 26 July 2020 at 03:13:30 UTC+2 Denis Cheremisov wrote:
> The bad with *any* in builtins is there will be questions "why you use
> interface{}" if there's builtin *any?*", etc.
If Go has generics I expect that people will use "interface{}"/"any" a lot
less outside of type parameter lists than today. Maybe gofmt could rewrite
"interface{}" to "any", so there won't even be such a question for new code.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/7dde60a4-7eca-413a-938c-a2e5d47c4c1an%40googlegroups.com.