[squeak-dev] [Meta] Boolean#asBit discussion. What just happened here?

Eliot Miranda eliot.miranda at gmail.com
Sun Dec 6 18:15:38 UTC 2009


On Sat, Dec 5, 2009 at 5:33 PM, K. K. Subramaniam <subbukk at gmail.com> wrote:

> On Sunday 06 December 2009 03:11:31 am Jerome Peace wrote:
> > Why is that so?
> Protocol? basic vocabulary?  A method name does set an expectation and
> people
> build up a working vocabulary over time.  My early frustrations with Squeak
> :-( were with statements like:
>
>  Morph new name
>  SmalltalkImage explain
>  PolygonMorph new edit
>
> asBit breaks the protocol of using asInteger to map an object to a number,
> so
> it is not discoverable manually through Message Finder or automatically
> using
> Method Finder.
>
>
+1


> > Does anything need to be done about it?
> > What would help reduce the confusion/ignorance?
> Yes. Message name finder could support wildcard searches (e.g. "open",
> "open*",
> "*with*"). It could present results sorted by relevance (say, number of
> senders + number of implementors) to encourage vocabulary.
>
> Subbu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20091206/2df26d0e/attachment.htm


More information about the Squeak-dev mailing list