Good points. And, even if it all worked, would anyone still prefer not to simply rebuild an image with all the code? IOW, wouldn't they "trust" an image that was only built UP rather than one built up and then partially torn down?
IMO, unloading is for the viewpoint of having an "ultimate image" which is never replaced. Once ability to build from first-principles is solved, one can use the boundary of the image to fit many use cases, it becomes just another of many memory spaces, no longer "the" one, grand, image. Then the need to unload is greatly diminished. Unloading is good for custom-trimming an image of unwanted functionality which could not be built to spec because its packages are not in fine-enough granules, perhaps so it can be more suitable for a production environment (e.g., remove the server development tools). On Thu, Nov 19, 2015 at 4:55 PM, Mariano Martinez Peck <[email protected]> wrote: > To unload a package you can do it from Monticello Browser..Select the > package (left column), right click, "Unload Package". > But not that it will not work properly in cases where you have method > overrides (the original methods you override will NOT be recovered), or > class collisions (imagine your package has a class name collision with a > class name of another package)... > Then you can have instances of classes you unload...hence the Obsolete > thingy (instances are now instance of an obsolete class). > Then you can also have subclasses in ANOTHER package of classes of the > package you unload. What you do with the subclasses? and with the instances > of such subclasses? > So... order of unloading does matter across packages (in the same way that > loading does). So for unloading multiple packages you should be using > Meacello or similar. > > As you can see, it's not an easy task. > > > > > On Thu, Nov 19, 2015 at 7:23 PM, milton mamani <[email protected]> wrote: >> >> +1 >> By the way so how one can unload a project from the pharo image ? I never >> tried that one before. >> >> Use the Force Dimitris >> >> Sorry I dont have the answer for this now, but I am interested on this >> issue. >> >> 2015-11-19 18:05 GMT-04:00 Dimitris Chloupis <[email protected]>: >>> >>> I prefer being a technomage to a jedi, jedies are too, well naive and >>> purists. >>> >>> By the way so how one can unload a project from the pharo image ? I never >>> tried that one before. >>> >>> On Thu, Nov 19, 2015 at 10:59 PM stepharo <[email protected]> wrote: >>>> >>>> When I was getting to be a Jedi, my Yoda master (Joseph Pelrine) told me >>>> the following (yes back in 96) >>>> >>>> translated from Yoda language: >>>> >>>> you will be a real Jedi when your code will load in one click! >>>> you will be a real Jedi when your code will unload in one click and >>>> do not let shit behind it! >>>> >>>> Simple no. So when do we get real Jedi knights? >>>> >>>> Stef >>>> >> > > > > -- > Mariano > http://marianopeck.wordpress.com
