4 ms·
It's reasonably easier when a method can transparently change the type, for example in Common Lisp - where the object system provides a clear controlled way to
by p_l 6y ago
It's reasonably easier when a method can transparently change the type, for example in Common Lisp - where the object system provides a clear controlled way to change the class of an object (using apropriately called method change-class)