|
|
|
|
|
by cowboysauce
2929 days ago
|
|
No, interface {} is more like void pointers in C and C++ or Object in C# and Java. It can hold values of any type. One of the major selling points of actual generics is that they provide type safety, but interface {} doesn't provide that. |
|