3 ms·
> Also, we don't have a separate name for structs that contain references/pointers and structs that don't do we? Languages name things they need to help their
by morelisp 4y ago
> Also, we don't have a separate name for structs that contain references/pointers and structs that don't do we?
Languages name things they need to help their implementation. In Go, such types are named ("pointer-ful" and "pointer-free"), because they are allocated differently to assist GC. In C++, they're not but instead we have e.g. PODs which other languages don't need to name, because of other optimizations C++ wants to do.