4 ms·
The ability to change the identity of objects is not really used in normal code, so it is pointless to complain about it as bad practice. But it may be handy d
by xkriva11 3y ago
The ability to change the identity of objects is not really used in normal code, so it is pointless to complain about it as bad practice.
But it may be handy during debugging sessions, and it is an essential feature that allows the system to evolve like a living system. It is used during class migration and so on. (It wasn't me who downvoted your comment)