News for hackers. Stuff that matters.
Re:The Next Step for Generics by fendy3002 on Tuesday June 16, 2020 @07:21PM (#23545554)
For java / c#, in my experience, I've done that mistake because in both language the class declaration is very verbose. Then using generic is the only way to solve a problem which can only be solved by dynamic typing / variables.

In typescript I don't need generic too much / too complex, because the typing definition is more lax, and we can use dynamic in the very complex scenario.

I don't know which approach go is taking.

There are no comments on this comment yet.