4 ms·
Well technically this is reflection which is something else than generics. You say "that's not true" but it IS true that go lack generics (or metaprogramming in
by dagss 8y ago
Well technically this is reflection which is something else than generics. You say "that's not true" but it IS true that go lack generics (or metaprogramming in general). You point out that it supports reflection which is something else... it is a bit like coding in Python, you loose compile time type safety.
- deleted 8y ago[deleted]
- daenz 8y agoNo, it's not generics, but it enables you to write a generic function, which is what the article claimed was not possible in Go.