3 ms·
Nim has generics but doesn't have interfaces, which makes things even worse in my opinion.
by spriggan3 11y ago
Nim has generics but doesn't have interfaces, which makes things even worse in my opinion.
- dom96 11y agoTrue. But Nim does have type classes, which in some ways are much better. Interfaces like the ones in Go can be easily emulated using closures.