3 ms·
I agree with your sentiment. Only the most strict pure functional languages will prevent you from reusing objects. You could argue that some languages distingu
by gpderetta 5y ago
I agree with your sentiment. Only the most strict pure functional languages will prevent you from reusing objects.
You could argue that some languages distinguish raw memory from actual objects and even when reusing memory you would still go through an initialization phase (for example placement new in C++) that would take care of putting the object into a known default state.