3 ms·
Interesting how useful generics seem to be vs typeless interfaces and how long it took Go to incorporate them.
by mkesper 4y ago
Interesting how useful generics seem to be vs typeless interfaces and how long it took Go to incorporate them.
- kjksf 4y agoThey are not typeless but dynamically typed. It's an important distinction. The values have types it's just types aren't visible at compile time but can (must) be queried at run time to do anything useful with those values.