Range is interesting
Early implementations had a separate RangeIter class
✗ Lots of attribute coupling between Range and RangeIter ☹
But Range objects are immutable
Will always return the same sequence of values
continued...Perl 6 | More laziness and lists | #30 |
Early implementations had a separate RangeIter class
✗ Lots of attribute coupling between Range and RangeIter ☹
But Range objects are immutable
Will always return the same sequence of values
continued...
Copyright © 2012 http://www.pmichaud.com/2012/pres/ |