[squeak-dev] Re: Monticello doesn't create new packages (comment on bert's suggestion)

Jerome Peace peace_the_dreamer at yahoo.com
Mon Jun 2 22:25:39 UTC 2008



[squeak-dev] Monticello doesn't create new packages

***
>Bert Freudenberg bert at freudenbergs.de 
>Mon Jun 2 10:18:52 UTC 2008 
>
>On 02.06.2008, at 11:06, Herbert König wrote:
>
>><much original stuff snipped>

>Or, if you like substring matching better than token matching, include  
>your own PackageInfo subclass with your package. It is really simple.  
>Here is the default matching:
>
>category: categoryName matches: prefix
>	^ categoryName notNil and: [categoryName = prefix or: [categoryName  
>beginsWith: prefix, '-']]
>
>Make a PI subclass, override the method as
>
>category: categoryName matches: prefix
>	^ categoryName notNil and: [categoryName beginsWith: prefix]
>
>and then in its class-side initialize method, do
>
>	(self new packageName: 'hk-aster') register
***

Arrrg.

Isn't the naming convention part of the external language of squeak?

That is, something we all must argee upon*
 inorder for packages to be interchangable?

Making one's own convention only works on one's own island. 
When it comes time to share the problem of dealing
 with external language remains.

So it sort of destroys the whole virtue of packages in the first place.


Yours in curiosity and service, --Jerome Peace

*Probably after much arguing :-)




      



More information about the Squeak-dev mailing list