
Iterator Design Pattern
Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=5rRP1H4DZK4
Iterator Design Pattern Article : https://medium.com/@sean_bradley/iterator-design-pattern-54655e97552c
Design Patterns In Python Book : https://www.amazon.com/dp/B08XLJ8Z2J
The Iterator Design Pattern describes an interface with next and has_next methods.
next returns the next object in the aggregate(collection, list)
has_next returns a value, usually a boolean indicating if the iterable is at the end of the list or not.
The benefits of using the Iterator pattern is that the client, can traverse an aggregate without needing to understand it's internal representation and data structures.
#python
#pythonDesignPatterns
Other Videos By SBCODE
2020-08-22 | Grafana : Custom MySQL Time Series Queries |
2020-08-21 | Custom MySQL Time Series Queries in Grafana 6 |
2020-08-19 | Install MySQL Dashboard and Collector in Grafana 7 |
2020-08-18 | Grafana : Create MySQL Data Source in Grafana |
2020-08-17 | Proxy Design Pattern |
2020-08-17 | Composite Design Pattern |
2020-08-17 | Facade Design Pattern |
2020-08-17 | Decorator Design Pattern |
2020-08-17 | Adapter Design Pattern |
2020-08-17 | Mediator Design Pattern |
2020-08-17 | Iterator Design Pattern |
2020-08-17 | Observer Pattern |
2020-08-17 | Graph Non Time Series Data in Grafana 6 |
2020-08-17 | Grafana : Bind SSL to your Grafana Nginx Proxy |
2020-08-17 | Grafana : Reverse Proxy Grafana with Nginx |
2020-08-17 | Grafana : Point a Domain Name to your Grafana Server |
2020-08-17 | Grafana : Install and Start Grafana 7 |
2020-08-16 | Threejs TypeScript : Introduction |
2020-08-15 | Change Grafana Default Port |
2020-08-09 | Importing Three.js as a Module |
2020-08-08 | Factory reset TP-Link WPA281 and AV500 Powerline Wifi Extenders |
Tags:
python
design patterns
iterator design pattern
B08XLJ8Z2J