[squeak-dev] Re: Some question regarding portability

Germán Arduino garduino at gmail.com
Tue May 10 23:25:43 UTC 2011


2011/5/10 Germán Arduino <garduino at gmail.com>:
> 2011/5/10 Sven Van Caekenberghe <sven at beta9.be>:
>>
>> On 10 May 2011, at 14:45, Andreas Raab wrote:
>>
>>>>>> - Are announcements available ? Can this framework be loaded ? What is the official way to do this ?
>>>>>
>>>>> There are at least four different implementations of the announcements framework. They are not (fully) compatible with each other. The question is: which one is required by Zinc?
>>>>
>>>> I am not aware of that many versions.
>>>> I subclass Announcement, instanciate an Announcer, send #announce: and #on:send:do to it, that's all.
>>>
>>> Then how about adding ZnAnnouncement, ZnAnnouncer with the two or three methods that you actually need? Announcements always struck me as more of a pattern than a framework.
>>
>> I agree that Announcements are pretty simple.
>> Still, if it is available, then why not use it.
>> Sharing and reusing general purpose classes seems pretty important and elementary to me.
>>
>> Of course, this sharing and reuse makes package management and dependencies more difficult.
>>
>> For example, I need MD5, for which it seems to be necessary to load Cryptography in Squeak, a quite large framework that seems to be under development (many unit tests failed, MD5 works OK). You have chosen a shortcut in WebClient by implementing MD5 yourself. This runs against the refactoring rule but makes it easier for users because they don't need to load a dependency.
>>
>
> Hi Sven:
>
> Yes, Cryptography is mostly a name to group different implementations
> of crypto related stuff. I agree that may not be the better idea
> thinking in reuse.
>
> I'm copying this mail to the crypto list (even when I think that most
> of the people is here also) to discuss about better ways to
> name/install the things.
>


I forgot to say that this don't excludes to think in add some of the
more used stuff (as hashing) on the image, "a la Pharo".

Germán.



More information about the Squeak-dev mailing list