[Cuis-dev] Message rename suggestion

Hernan Wilkinson hernan.wilkinson at 10pines.com
Thu May 21 13:37:58 PDT 2020


I uploaded another changeset to keep messages #head: and #tail: to avoid
misunderstandings

Hernan.



On Thu, May 21, 2020 at 5:11 PM Hernan Wilkinson <
hernan.wilkinson at 10pines.com> wrote:

> I just uploaded a changeset with the renames and tests for these new
> messages
>
> Cheers!
> Hernan.
>
> On Tue, May 19, 2020 at 12:23 PM Hernan Wilkinson <
> hernan.wilkinson at 10pines.com> wrote:
>
>> having the word First makes it easier to find in the "message names" and
>> "cuis finder" tools...
>> Do not get me wrong, it is not that I do not like head: or tail:, it is
>> just a matter of consistency regarding the names that already exist.
>>
>> On Tue, May 19, 2020 at 12:11 PM Andres Valloud via Cuis-dev <
>> cuis-dev at lists.cuis.st> wrote:
>>
>>> I do not recall hearing that e.g. allButFirst is difficult to find.
>>>
>>> On 5/19/20 07:46, Juan Vuletich via Cuis-dev wrote:
>>> > On 5/18/2020 7:10 PM, Hernan Wilkinson via Cuis-dev wrote:
>>> >> Hi,
>>> >>  the messages #head: and #tail: were added recently to
>>> >> SequenceableCollection with a similar behavior as #first: and #last:
>>> >> but with the difference that #head: returns the first available
>>> >> elements while #first: signals an exception if you want more elements
>>> >> than available. The same for #tail:
>>> >>  My suggestion is to rename #head: with #firstAvailable: and #tail:
>>> >> with #lastAvailable: for them to be similar with the current #first:
>>> >> and #last: message names, and therefore make them easier to find in
>>> >> the browser, the message names and cuis finder.
>>> >>
>>> >>  What do you think?
>>> >>
>>> >> Cheers!
>>> >> Hernan.
>>> >>
>>> >> --
>>> >> *Hernán Wilkinson
>>> >> Agile Software Development, Teaching & Coaching*
>>> >> *Phone: +54-011*-4893-2057
>>> >> *Twitter: @HernanWilkinson*
>>> >> *site: http://www.10Pines.com <http://www.10pines.com/>*
>>> >> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>> >
>>> > I have no preference. Andrés? Folks? What do you all think?
>>> >
>>> > Thanks,
>>> >
>>> > --
>>> > Juan Vuletich
>>> > www.cuis-smalltalk.org
>>> > https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
>>> > https://github.com/jvuletich
>>> > https://www.linkedin.com/in/juan-vuletich-75611b3
>>> > @JuanVuletich
>>> >
>>> >
>>> --
>>> Cuis-dev mailing list
>>> Cuis-dev at lists.cuis.st
>>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>>
>>
>>
>> --
>>
>> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
>> *Phone: +54-011*-4893-2057
>> *Twitter: @HernanWilkinson*
>> *site: http://www.10Pines.com <http://www.10pines.com/>*
>> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>>
>
>
> --
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>


-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200521/62dd8692/attachment.htm>


More information about the Cuis-dev mailing list