Picky with the pesky names

Frank Shearar frank.shearar at angband.za.org
Wed Apr 19 11:55:01 UTC 2006


<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
>
> Any preference? Or am I being too picky with the pesky names?

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

If it was ME, I'd stay with #between:and:, because when I see -1 at 1 I think
of a point on the Cartesian plane, not an interval on the real number line.
But that's just me being picky!

frank




More information about the Squeak-dev mailing list