Curious, anyone else using ObjecTools in their projects?


On Tue, Apr 24, 2012 at 9:39 AM, Aparajita Fishman
<[email protected]> wrote:
>> You have warned us for years that we should not count on collections being 
>> sorted (much like Ruby, PHP, etc).
>
> Yes, I warned everyone, and the release notes will warn them again.
>
>
>> Ruby has a sort command that can sort hashes (collections).  Are you 
>> including a sort for collections in v6? Or will the developer have to 
>> extract the keys into an array, then sort the array and use the array to 
>> iterate through the collection?
>
> You have to extract the keys, sort them, and then use the array. That's 
> normal when dealing with hashed collections. I don't know how ruby does it, 
> but I won't be offering sorted collections.
>
> Regards,
>
>   Aparajita
>   www.aparajitaworld.com
>
>   "If you dare to fail, you are bound to succeed."
>   - Sri Chinmoy   |   www.srichinmoy.org
>
> _______________________________________________
> Active4D-dev mailing list
> [email protected]
> http://list.aparajitaworld.com/listinfo/active4d-dev
> Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/



-- 

m|a
_______________________________________________
Active4D-dev mailing list
[email protected]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://vasudev.aparajitaworld.com/archive/active4d-dev/

Reply via email to