2 ms·
I'm not sure what you mean by "not gaining anything of significance." Go without interfaces (and for simplicity let's ignore 1.18's generics for a moment) would
by jerf 5y ago
I'm not sure what you mean by "not gaining anything of significance." Go without interfaces (and for simplicity let's ignore 1.18's generics for a moment) would not be a useful language at any significant scale. You'd end up with a lot of "by hand" interfaces of structs full of function pointers (or method closures), only without the compiler support.
Nor am I sure exactly what "confusion" is being increased.
- masklinn 5y ago> I'm not sure what you mean by "not gaining anything of significance." Go without interfaces (and for simplicity let's ignore 1.18's generics for a moment) would not be a useful language at any significant scale. Why would go not have interfaces? Where did you make that up from? Go would have nominative interfaces Like most other languages.
- deleted 5y ago[deleted]