+1 for renaming both.
2009/10/2 Samuel Lebeau <samuel.leb...@gmail.com>

> I totally agree.
> `Array#isEmpty` would be useful too.
> Maybe we should rename those methods and deprecate the original names in
> 1.7.
>
> Best,
> Samuel.
>
> 2009/10/2 Allen Madsen <bla...@gmail.com>
>
> I'd prefer isEmpty as well.
>> Allen Madsen
>> http://www.allenmadsen.com
>>
>>
>>
>> On Fri, Oct 2, 2009 at 3:34 PM, joneff <jon...@gmail.com> wrote:
>>
>>>
>>> I've been pondering on this one for quite a long time -- why is it
>>> String#empty instead of String#isEmpty? To me String.empty should be a
>>> field equal / referencing the empty string and not a method.
>>>
>>> I was gonna hold this to my self, but the last few days there's been
>>> some discussion about semantics (Element#destroy and Function.empty
>>> per say) and I though may be it about time to ask this question.
>>>
>>> So is there any particular reason, besides #empty being shorter than
>>> #isEmpty and does my suggestion make sense to you?
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to 
prototype-core-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to