Hot reload / live programming
is a big feature for Lua and Unity projects. I think when designing libraries this is something to keep in mind. I think having a system that actually serializes code into the saved state during a restart would be ideal.
Current idea:
- The entire program is an FRP style automaton: state + input -> output
- Reloading the program means running the new code with the same state
- Programmer may need to help with migrating the state from old to new structure if things were refactored
- The state should not have (much) code in it, that code will be serialized into the state database/file