[Cuis-dev] Message rename suggestion
Andres Valloud
ten at smallinteger.com
Thu May 21 13:52:32 PDT 2020
How about you keep the original code with the original initials? TIA!
On 5/21/20 13:37, Hernan Wilkinson via Cuis-dev wrote:
> 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 <mailto: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 <mailto: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 <mailto: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 <http://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 <mailto:Cuis-dev at lists.cuis.st>
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
> --
> *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
>
>
>
> --
> *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
>
>
>
> --
> *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
>
More information about the Cuis-dev
mailing list