[squeak-dev] Re: [Vm-dev] Re: [Pharo-project] About ~= and ~~
Andreas Raab
andreas.raab at gmx.de
Thu Oct 13 08:30:15 UTC 2011
On 10/12/2011 22:20, Eliot Miranda wrote:
>
> On Wed, Oct 12, 2011 at 1:19 PM, Colin Putney <colin at wiresong.com
> <mailto:colin at wiresong.com>> wrote:
>
>
> On Wed, Oct 12, 2011 at 1:16 PM, Eliot Miranda
> <eliot.miranda at gmail.com <mailto: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.
It's really the same either way. My main reason for disliking ~= and ~~
is that both of these are aesthetically unpleasing. I'd much rather see
<> instead of ~= and perhaps <==> instead of ~~.
Cheers,
- Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20111013/6f628e97/attachment.htm
More information about the Vm-dev
mailing list