|
|
|
|
|
by Fire-Dragon-DoL
1765 days ago
|
|
All good! Well in Go the assumption is that you jump to interface{} (equivalent to Object in Java or void* in C) when you start having these kind of problems, but there is a performance penalty in doing that, which shouldn't be there if generics are present (and makes the code DRAMMATICALLY worse with all the casting) |
|