Re:Go 2 Draft Designs
by giovannibajo1 on Tuesday August 28, 2018 @05:08PM
(#17862896)
You won't be able to do numeric stuff with these proposals as well. You would still be missing operator overloading and parameter of integer types, which are the basis of any generic numeric code.
[ Parent
| on HN ]
True about no operator overloading, but that's just syntactical sugar for functions.
I believe you can get integer parameter types by using something like the `convertible` contract seen here https://go.googlesource.com/proposal/+/master/design/go2draf... (unless I'm mistaking what you are saying)