Re:Go 1.1 is released
by minamea on Monday May 13, 2013 @06:28PM
(#5701841)
Someone correct me if I'm wrong, but I think that's true only if you use methods and not operators, because Go doesn't support operator overloading.
[ Parent
| on HN ]
Re:Go 1.1 is released
by stonemetal on Wednesday May 15, 2013 @01:03PM
(#5713300)
The other place you really feel the lack of generics is in the collections. They are built around the empty interface so that they can hold any type. Then you have to cast back to what you want. Exactly like Java pre generics. ugh.