Re: [Pharo-project] Monticello: an idealist question
Thanks for the reply. Please do not feel attacked in any way by this, but you have beautifully illustrated my point: I am not asking to put method in multiple *packages*, I am asking to free categories to do what they *should* do, which is tag methods in ways I find useful. PackageInfo (not to denigrate it), has completely hijacked the concept - actually, the Squeak community failed to add state to allow it to operate independently of categories. The uses of multiple categories are probably obvious, but they can be as simple as marking something as, for example, being a helper for the FFT, and specifically applying to the frequency domain. Dolphin visually distinguishes public and private methods, so I tend to be generous with the private category as I find it helps me when I look at a class with many methods. It is difficult to miss something you have never had, but trust me when I say that you are missing out. Bill Wilhelm K. Schwab, Ph.D. University of Florida Department of Anesthesiology PO Box 100254 Gainesville, FL 32610-0254 Email: bschwab@anest.ufl.edu Tel: (352) 273-6785 FAX: (352) 392-7029
tapplek@gmail.com 10/08/08 10:33 PM >>> On Wed, Oct 08, 2008 at 07:52:29PM -0400, Bill Schwab wrote: Colin,
Among many useful things in Dolphin is an ability to assign multiple categories to any given method; Squeak and Pharo allow only one category, and it promptly gets chewed up by PackageInfo. Multiple categories would be a nice addition to Squeak and Pharo.
How hard would it be to change Monticello to take its input not from PackageInfo and its (pardon me) abuse of category names, but from reifications of the categories? The new objects would form the basis for packaging system, and free method categories to do what they do best: aid in browsing and understanding code.
You could change PackageInfo to use the new scheme easily, I'm sure, or you could use Monticello2, which adds another abstraction layer atop PackageInfo (slices). And if Craig ever releases Spoon, we'll have another contender for version management (Naiad) PackageInfo is not that complicated. I was able to rewrite its image scanning code to be about 8x faster in about 40 lines of code, spread across 8 methods Making the browser nicely cope with whatever scheme you invent will be the real challenge. Can you give me an example of why you want one method in two packages? Monticello can handle that by using overrides, but it is a different version in each package. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/ _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Thu, Oct 09, 2008 at 06:56:44AM -0400, Bill Schwab wrote:
Thanks for the reply. Please do not feel attacked in any way by this, but you have beautifully illustrated my point: I am not asking to put method in multiple *packages*, I am asking to free categories to do what they *should* do, which is tag methods in ways I find useful. PackageInfo (not to denigrate it), has completely hijacked the concept - actually, the Squeak community failed to add state to allow it to operate independently of categories.
Ok. It sounds kind of like how Craig changed this in Spoon. He got rid of Catogories altogether. In spoon, there are modules, which are a collection of methods. Attached to each method is a number of tags. One usually wants to browse by tags, but one can browse by modules too. I really wish I could try out Dolphin and VW and see what I am missing, but they don't run on linux. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
Good to know I really want to get rid of category too. Stef On Oct 9, 2008, at 4:26 PM, Matthew Fulmer wrote:
On Thu, Oct 09, 2008 at 06:56:44AM -0400, Bill Schwab wrote:
Thanks for the reply. Please do not feel attacked in any way by this, but you have beautifully illustrated my point: I am not asking to put method in multiple *packages*, I am asking to free categories to do what they *should* do, which is tag methods in ways I find useful. PackageInfo (not to denigrate it), has completely hijacked the concept - actually, the Squeak community failed to add state to allow it to operate independently of categories.
Ok. It sounds kind of like how Craig changed this in Spoon. He got rid of Catogories altogether. In spoon, there are modules, which are a collection of methods. Attached to each method is a number of tags. One usually wants to browse by tags, but one can browse by modules too.
I really wish I could try out Dolphin and VW and see what I am missing, but they don't run on linux.
-- Matthew Fulmer -- http://mtfulmer.wordpress.com/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Thu, Oct 09, 2008 at 10:44:34AM -0500, David Pennell wrote:
VW runs has been on Linux since about 2001.
Not for me. Both times I tried it (within the past year), it gave an opaque error message while launching the VW installer, and I couldn't figure out what to do, so I gave up. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
On Thu, Oct 09, 2008 at 09:22:53AM -0700, Matthew Fulmer wrote:
On Thu, Oct 09, 2008 at 10:44:34AM -0500, David Pennell wrote:
VW runs has been on Linux since about 2001.
Not for me. Both times I tried it (within the past year), it gave an opaque error message while launching the VW installer, and I couldn't figure out what to do, so I gave up.
I tried it again, and it started installing stuff. I left before it finished. I'll see what happened tonight. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
participants (4)
-
Bill Schwab -
David Pennell -
Matthew Fulmer -
Stéphane Ducasse