Renaming newEmpty/newSize: to new &capacity:
Shaping
shaping at earthlink.net
Sat Jan 29 21:30:14 PST 2005
#capacity is too abstract. #newSize: and #size are correct in the general sense
of countable units. If you want to designate a count of specific units, append
this modifier, prepositionally, as in: #sizeInBytes.
Shaping
----- Original Message -----
From: "Brian T. Rice" <water at tunes.org>
To: <slate at tunes.org>
Sent: Monday, January 17, 2005 20:07
Subject: Renaming newEmpty/newSize: to new &capacity:
> Hello,
>
> This is a quick notification of a change, and a poll as to whether this
> suggested renaming has any objections - I am considering altering the
> collection protocol so that #newEmpty and #newSize: will just be keyword
> variations on a method #new, the keyword being "capacity" since size is a
> misnomer.
>
> This has been under consideration for a long time, and we can keep the old
> methods in the image for another sub-point release for convenience, but it
> will require a full bootstrap and a ton of selector replacements in the
> source code (this is not hard, but can be a nuisance for contributors).
>
> Any comments/suggestions?
>
> -Brian
>
>
More information about the Slate
mailing list