For example consider this example https://play.golang.org/p/rfccpBoFIJN
There is no generics involved, but for person reading the code there will 
be additional cognitive load to recognize that it's returned closure call 
and not generic function call.
I wonder how could we avoid this confusion (apart from using different 
brackets :)). Maybe force type keyword in calls as well to show that those 
arguments are types?

-- 
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/63a21024-95d3-474c-9b42-e7b7f913cdadn%40googlegroups.com.

Reply via email to