3 ms·
well yeah except const doesn't make objects or arrays immutable
by AstroBen 11mo ago
well yeah except const doesn't make objects or arrays immutable
- catlifeonmars 11mo agoI feel that Java’s “final” would have been a better choice than “const”. It doesn’t have the same confusing connotation.
- MetaWhirledPeas 11mo agoYeah it makes their structure immutable? Something like that. Not useless but not what you would expect. But for non-objects and non-arrays it's fine.