#811: [RFC] Deprecate "new Iterator" form for creating Iterators.
--------------------+-------------------------------------------------------
Reporter: bacek | Owner:
Type: RFC | Status: new
Priority: normal | Milestone:
Component: core | Version: 1.3.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by pmichaud):
Replying to [ticket:811 bacek]:
> Currently there is 2 ways of creating iterators:
> 1. $P0 = new 'Iterator', aggregate
> 2. $P0 = get_iter aggregate
Minor correction: the opcode is "iter", not "get_iter".
> My propose is to deprecate "new Iterator, aggregate" form of creating
iterators
> and left only VTABLE-based "get_iter" op.
+1 for using the "iter" opcode as the primary mechanism for getting
iterators.
I have no strong opinion for/against deprecating "new 'Iterator',
aggregate".
Pm
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/811#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets