[squeak-dev] Re: [Vm-dev] Re: [Pharo-project] About ~= and ~~

Eliot Miranda eliot.miranda at gmail.com
Wed Oct 12 20:20:58 UTC 2011


On Wed, Oct 12, 2011 at 1:19 PM, Colin Putney <colin at wiresong.com> wrote:

>
> On Wed, Oct 12, 2011 at 1:16 PM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
> > People avoid it because of performance.  But I much prefer foo ~~ bar
> ifTrue: than foo == bar ifFalse:.  So I suspect/hope dynamic frequency will
> grow as people find its not such a performance issue any more.
>
> Well, no accounting for taste, I guess. I'd avoid it because I much
> prefer foo == bar iFalse:
>

But why, if it doesn't express intent directly?  It's cognitively more
difficult.  You have to negate to get the intent.


>
> Colin
>



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111012/2135bac3/attachment.htm


More information about the Vm-dev mailing list