[squeak-dev] The Inbox: Kernel-cmm.464.mcz

Stéphane Rollandin lecteur at zogotounga.net
Sat Jun 19 22:29:06 UTC 2010


> When the "sending site" is an actual end-user, API unification eases
> their use of the system.  For example, we have a single user-input
> that is interpreted on the fly and constructed into a full query
> decision tree, this simplifies and unifies the syntax.
>
> Similarly, when dragging an object argument to a Maui Parameter-Holder
> doesn't require the user to make a collection.
>
> Any time 1..n objects may be an argument, #asArray _unifies_ the API
> to accept, equally, a collection or single-object.

maybe #inArray or #asSingleton would be more appropriate: it is not a 
conversion, it is an encapsulation.

Stef





More information about the Squeak-dev mailing list