Picky with the pesky names

Herbert König herbertkoenig at gmx.net
Wed Apr 19 12:34:41 UTC 2006


Hello Frank,


FS> <francisco.j.garau at jpmorgan.com> wrote:

>> As you can see, the method is trivial, the name is not. Several
>> alternatives names come to my mind:
>>
>>         0.5 inside: -1 at 1
>>         0.5 in: -1 at 1
>>         0.5 within: -1 at 1
>>         0.5 included: -1 at 1
>>         0.5 belongsTo: -1 at 1

FS> I won't comment on your pickiness :) but I'd go for #within:. "0.5 is within
FS> the interval (-1, 1)."

Same opinion here.

FS> If it was ME, I'd stay with #between:and:, because when I see -1 at 1 I think
FS> of a point on the Cartesian plane, not an interval on the real number line.

Also the same opinion.
I also could accept if (-1 ... 1) creates that interval so it would be
0.5 within: (-1 ... 1). But the advantage would be in creating an
interval and not regarding this discussion.



Herbert                            mailto:herbertkoenig at gmx.net




More information about the Squeak-dev mailing list