|
|
|
|
|
by codr7
2437 days ago
|
|
Go has generic types the same way Python has macros, or the same way C++ templates is a functional programming language. C has void *, writing generic code using it is hell. Enough so that people went through a lot of trouble creating C++ and later Rust to escape it. I'd say the type casting from interface{} to whatever you assume is in there qualifies as different. Pretty much every single aspect of these languages is different from what I can see, the only thing they have in common is included batteries, the rest is growing popularity and consequences thereof. |
|