[Cuis-dev] Removal of detectSum: ?
Hernan Wilkinson
hernan.wilkinson at 10pines.com
Wed May 22 05:49:51 PDT 2019
Yeap, I agree.
At git hub now
Thanks!
Hernan
On Mon, May 20, 2019 at 9:29 AM Luciano Notarfrancesco via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> I just noticed the method Collection>>detectSum: that does the same as
> 'sum: ... ifEmpty[0]'. Besides being redundant, the name feels weird, as I
> expect the detect* family of messages to return an element of the
> collection. Does it seem reasonable to remove it? The attached changeset
> changes the two senders to call sum:ifEmpty: instead and removes it. There
> don't seem to be other senders in packages, but I just checked the official
> packages.
>
> Cheers,
> Luciano
> --
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20190522/ee423da1/attachment.html>
More information about the Cuis-dev
mailing list