i too didn't like this, although i get the reasons for it.

but for me these are unaddressed points;

1. the language does not distinguish array types, as a group, in any way, 
except here.
2. you can have many types that simultaneously implement multiple 
interfaces, for these you need copying code for every COMBINATION.
3. interfaces are commonly used by libraries, library users providing the 
implementations, this makes its impossible to provide the copying in the 
library, and makes the use of arrays of interfaces much less friendly.

it does seem like some generics should improve this situation.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to