What's a ChangeSorter for?

Date: Thu, 4 Sep 1997 19:27:53 +0200 (MET DST)
From: Ian Piumarta 
To: squeak@create.ucsb.edu
Subject: Re:  What's the ChangeSorter for?
Sender: owner-squeak@create.ucsb.edu
Precedence: bulk
Reply-To: squeak@create.ucsb.edu
Status:   

> What's the ChangeSorter for? It looks like it's for moving definitions > between change sets. Why do you want to do that?

It's incredibly useful when you've been developing something with several decomposable facets, or if you've inadvertently fixed things while in the wrong project. I used it heavily when making the various file outs for the cache interpreter.

Maybe the best way to characterise it would be: "a tool for rewriting history". ;-)

Ian


X-Sender: johnm@bobo.rd.wdi.disney.com Mime-Version: 1.0 Date: Fri, 5 Sep 1997 09:03:18 -0800 To: squeak@create.ucsb.edu From: Maloney Subject: Re: What's the ChangeSorter for? Sender: owner-squeak@create.ucsb.edu Precedence: bulk Reply-To: squeak@create.ucsb.edu Status:

>On the tail of the "User interface on WinNT" thread... > >What's the ChangeSorter for? It looks like it's for moving definitions >between change sets. Why do you want to do that? I see that the >"Preamble" is a standard "Who did this when" header, but what's the >"Postscript"? (Yes, I know -- "a page definition language" :-)

We use the ChangeSorter to sort changes into meaningful collections to be filed out and exchanged with other Squeak users. One often works on a number of different projects at the same time--for example, while working on some application I might add some nifty new method to OrderedCollection. I might also temporarily change some methods during debugging. Later, I could use to change sorter to sort my changes into one set for the new OrderedCollection method and another for my application. The temporary changes I would just "forget" from the change set.

The postscript allows one to add expressions to be evaluated after the filein has been done. For example, if the changes including adding a new instance variable to some class, one might add an expression to initialize that instance variable in all existing instances of that class.

-- John


"More About Squeak..."
Home Page for How To Squeak

Last modified at 1/30/98; 9:43:56 AM
Other Links of Interest
College of Computing | EduTech Institute | GVU Center
Mark Guzdial | CS2390, Modeling and Design | STABLE