[Cuis-dev] Message rename suggestion

Hernan Wilkinson hernan.wilkinson at 10pines.com
Mon May 18 15:10:02 PDT 2020


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 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/20200518/8381b3ed/attachment.htm>


More information about the Cuis-dev mailing list