I think we should carefully consider whether generics is worthy enough to be 
added into the language. It is easy to add a feature, but nearly impossible to 
remove one without breaking the backward compatibility promise. 

One thing for sure is that we are in the middle of a paradigm shift. I am 
seeing more and more codes blending OOP with elements of functional 
programming. Some OOP purists go as far as avoiding getter/setter and use DTO 
to allow data editing, which to me it looks like a separation of data and 
function in procedural programming. Whatever the latest trend is, we shouldn't 
let Go become another C++ by blindly following trends. Everything must be 
thought of carefully. 

I was one of the generics supporters for Go in this forum, but now I am not so 
sure.

-- 
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