4 ms·
But surely you could implement "global statics, structs of arrays, arrays of structs" in Java(classes with public members) as well even if it lacks value types(
by bogomipz 11y ago
But surely you could implement "global statics, structs of arrays, arrays of structs" in Java(classes with public members) as well even if it lacks value types(aside from primitives that is) no?
- pjmlp 11y agoYes, but you won't gain much given the prevalence of references. You will need to decompose the classes across multiple arrays, thus leading to very hard to maintain code.