[squeak-dev] The Inbox: Collections-nice.868.mcz

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Sat Dec 28 15:38:07 UTC 2019


Hi Jakob,

Le sam. 28 déc. 2019 à 15:28, Jakob Reschke <forums.jakob at resfarm.de> a
écrit :

> Am Sa., 28. Dez. 2019 um 13:23 Uhr schrieb <commits at source.squeak.org>:
>
>>
>> To avoid problems, transform previous #at: implementation into #atPin:
>> and use that in Text.
>> #atPin: clamps the index in accessible range.
>>
>>
> Why not call it clampedAt: then? When I first saw the selector I was
> wondering how this relates to fixing something in place, personal
> identification numbers, or bowling pins.
>
> Because it's not me whose chose the name :(, #atPin: is already defined in
SequenceableCollection.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191228/e6717692/attachment.html>


More information about the Squeak-dev mailing list