[squeak-dev] The Inbox: Kernel-hjh.1115.mcz

H. Hirzel hannes.hirzel at gmail.com
Thu Oct 5 11:28:56 UTC 2017


Pharo no longer has a class 'StringHolder'. There considerable
discussion on the Pharo list about this. One issue was documentation

<citation>

St├ęphane Ducasse
<stephane.ducasse at inria.fr>	Mon, Sep 19, 2011 at 9:42 AM
Reply-To: Moose-related development <moose-dev at iam.unibe.ch>
To: Moose-related development <moose-dev at iam.unibe.ch>

Doru the key difference with stringHolder is that in StringHolder
nobody understand how it works.
Because it I would know I would go way faster. So I suggest that we
spend next two weeks not typing code on moose but only fixing comments
and we will get a real impact.
For pharo I have always to reverse engineer (network, filesystem...)
because people forget that a soft is finihsed with it is really
documented.

</citation>

This update is a very modest contribution to the documentation of
StringHolder  :-)

More input is welcome....

HH

On 10/5/17, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> Squeak 6.0a StringHolder no longer has message list categories
> - code pane menu
> - message list menu
>
> HH
>
>
> On Thu, 5 Oct 2017 11:04:01 0000, commits at source.squeak.org
> <commits at source.squeak.org> wrote:
>> A new version of Kernel was added to project The Inbox:
>> http://source.squeak.org/inbox/Kernel-hjh.1115.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Kernel-hjh.1115
>> Author: hjh
>> Time: 5 October 2017, 1:03:22.023466 pm
>> UUID: c80056e1-3f90-4dae-935f-2507eb2c0f94
>> Ancestors: Kernel-cmm.1114
>>
>> Better to have only a short class comment than to have wrong content.
>>
>> Squeak 3.0 had message categories
>> - code pane menu
>> - message list menu.
>>
>> I did not verify if 'in some the text is a method' still applies or not.
>>
>> =============== Diff against Kernel-cmm.1114 ===============
>>
>> Item was changed:
>>   Model subclass: #StringHolder
>>   	instanceVariableNames: 'contents'
>>   	classVariableNames: ''
>>   	poolDictionaries: ''
>>   	category: 'Kernel-Models'!
>>
>> + !StringHolder commentStamp: 'hjh 10/5/2017 13:00' prior: 0!
>> - !StringHolder commentStamp: '<historical>' prior: 0!
>>   I am a kind of Model that includes a piece of text.  In some cases, the
>> text can be edited, and in some the text is a method.
>> + !
>> -
>> - Categories 'code pane menu' and 'message list menu' are messages that
>> may
>> be called by my menus when the text is a method, and when some pane is a
>> list of methods.  Other of my subclasses may ignore these two catagories
>> altogether.!
>>
>>
>>
>


More information about the Squeak-dev mailing list