zlacker

[parent] [thread] 1 comments
1. aidenn+(OP)[view] [source] 2022-10-20 16:08:06
I don't know about Smalltalk, but a typical Common Lisp implementation will certainly allow you to restart the program from scratch.

Mutating state in a live program shouldn't be done carelessly (any more than a schema migration on a live database), but removing it completely from the toolbox is overly restrictive, especially since that also involves removing it from the toolbox while testing and developing.

replies(1): >>Jtsumm+p5
2. Jtsumm+p5[view] [source] 2022-10-20 16:33:04
>>aidenn+(OP)
Despite many people's beliefs, yes. Smalltalk can be restarted from scratch. First, the images are paired with a serialization of the source code. If you used nothing else you could restore the source in an image via that, it can also be used to produce diffs for distribution. That's not the best way, but it is a viable way.

The better way is tools like Iceberg and its various predecessors (Iceberg is nice because it works with git which has become the industry standard at this point for version control). There, you select down to the individual method what you want to commit and you can push it to other git repos on services like Github.

[go to top]