I think it’s essentially the same approach:
- Detect code changes.
- Tell the user inline in the console: “The class MagicMonkey was changed. To use the new changes either
reload!
, and manually discard old instances, orreboot!
, to have all local and instance variables cleared.” - Implement
reboot!
Education + options =