3 ms·
> I'm not even a Go developer > Using `interface{}` to temporarily escape the type system tbh if you program Go correctly, you use interface{} pretty rarely.
by zemo 9y ago
> I'm not even a Go developer
> Using `interface{}` to temporarily escape the type system
tbh if you program Go correctly, you use interface{} pretty rarely.
- camus2 9y ago> tbh if you program Go correctly, you use interface{} pretty rarely. It's a bit like saying "if you program C correctly, you use (void *) pretty rarely.". that's not the case, Go maintainers themselves keep on adding API with interface {} everywhere. Are you saying they are not programming Go correctly?