[go-nuts] Re: A test for generics

2018-09-18 Thread antonio . troina
I agree especially on the last part of your comment. I feel like generics should be used only to solve specific problems that cannot be solved otherwise, and I personally would prefer not to use them unless absolutely needed. We should always remember that with great power come great responsibil

[go-nuts] Re: A test for generics

2018-09-17 Thread Hoo Luu
Considering there are already many concerns about complexity introduced by generics, the situation will be even worse when generics arrive without eliminating the built-in magic stuff. Then is generics really worth the trade-offs? Does the gain outweigh the pain? 在 2018年9月18日星期二 UTC+8上午8:02:41,a

[go-nuts] Re: A test for generics

2018-09-17 Thread alanfo
Even if it were possible to eliminate the built in generic stuff, I think it would be a bad idea to do so. For better or for worse it's now part of the fabric of the language and just about every program ever written in Go 1 would have to be fixed if it were replaced. Also there are many in th