#679: [TODO] Hash changes to AssociativePMCArray
---------------------+------------------------------------------------------
Reporter: allison | Owner: coke
Type: todo | Status: new
Priority: normal | Milestone: 1.5
Component: none | Version:
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
---------------------+------------------------------------------------------
Comment(by allison):
We really shouldn't have separate Iterator classes for specific data types
(though I agree the new implementation is an improvement over the old
Iterator). Instead of having ArrayIterator and HashIterator as a subclass
of Iterator, an Iterator should detect whether it's working with an array
or hash and behave appropriately.
But, the renaming of Hash and OrderedHash shouldn't wait for this. (A note
for future planning: if the keys branch had been merged after 1.4, we
wouldn't have this problem of supporting experimental code.)
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/679#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets