In away, this seems more clear to me:
Array#clear() -> self
Since "this" is context-specific and can theoretically be thrown
around at will through binding. Also, "self" sounds (to me!)
semantically more accurate, as it is returning itself.
I'd be fine with either; they're both more clear than the current
implementation.
On Dec 14 2008, 12:52 pm, Tobie Langel <
tobie.lan...@gmail.com> wrote:
> Sorry for the iPhone-induced typo. This should have of course read:
>
> Sounds like a good idea.
>