3 ms·
How well does it work with class redefinition? Do your instances created with the old definition automatically update to become instances of the new definition,
by weavie 9y ago
How well does it work with class redefinition? Do your instances created with the old definition automatically update to become instances of the new definition, or do you need to recreate them?
Common Lisp goes to a lot of trouble to ensure old instances automatically become new instances - given the repl is a first class feature, the whole language is built around this concept. But with C++ I can't quite picture how it would work.
- Mic92 9y agoIt is not supported. You can only define each type once.
- Dangeranger 9y agoThe variables and references need to be re-initialized. It would be absolutely amazing if instances updated themselves but I think only Lisps and Smalltalk are capable of what you are saying. Correct me if I am wrong.