4 ms·
Generics spreading throughout your app is not a problem, it's that a specialized code-generation solution would work this way. Both apps and libraries would nee
by atombender 8y ago
Generics spreading throughout your app is not a problem, it's that a specialized code-generation solution would work this way. Both apps and libraries would need the same level of support, and at the end of the day you've invented a new language that happens to transpile to Go, on which you'll want to build everything. (In fact, such a language has already been created [1].) It's the awkwardness of the split between ordinary code and transpilation that causes the issues, and the resulting interop issues and fragmentation/competition between flavours.
[1] https://github.com/albrow/fo https://github.com/albrow/fo