filmov
tv
Javascript Design Patterns #4 - Iterator Pattern

Показать описание
What is the Iterator design pattern?
The Iterator pattern is a pattern that allows you to effectively loop over a collection of objects. A common programming task is to traverse and manipulate a collection of objects. These collections may be stored as an array or perhaps something more complex, such as a tree or graph structure. In addition, you may need to access the items in the collection in a certain order, such as, front to back, back to front, depth first (as in tree searches), skip evenly numbered objects, etc.
The Iterator design pattern solves this problem by separating the collection of objects from the traversal of these objects by implementing a specialized 'iterator'!
📚Materials/References:
🌎 Find Me Here:
The Iterator pattern is a pattern that allows you to effectively loop over a collection of objects. A common programming task is to traverse and manipulate a collection of objects. These collections may be stored as an array or perhaps something more complex, such as a tree or graph structure. In addition, you may need to access the items in the collection in a certain order, such as, front to back, back to front, depth first (as in tree searches), skip evenly numbered objects, etc.
The Iterator design pattern solves this problem by separating the collection of objects from the traversal of these objects by implementing a specialized 'iterator'!
📚Materials/References:
🌎 Find Me Here:
Javascript Design Patterns #4 - Iterator Pattern
10 Design Patterns Explained in 10 Minutes
Javascript Design Patterns #1 - Factory Pattern
Um Programador Pleno já deveria saber usar esse Design Pattern (tutorial linha a linha)
Factory Design Pattern #5 - JS Interview #javascript #DesignPatterns #Factory #interviews #OOJS
5 Design Patterns That Are ACTUALLY Used By Developers
Design Patterns in Plain English | Mosh Hamedani
4- Provider Pattern | Design Patterns in javascript
3 Use Cases for Event Soucing | New York Time | CDC | Microservice Connector | #short #shorts
Modular Javascript #4 - PubSub Javascript Design Pattern
Abstract Factory Design Pattern? #4 - Interviews #javascript #techAmi #DesignPatterns
8 Design Patterns | Prime Reacts
JavaScript Design Patterns for Web Apps with Maximiliano Firtman | Preview
JavaScript Marathon | Design Patterns in JavaScript (And How They Can Clean Up Your Code)
Javascript Design Patterns 2023 : Factory Pattern
JavaScript Design Patterns 20 Patterns for Advancing Your JavaScript Skills
Factory Functions - Design Patterns in JavaScript
Adding a New Feature - JavaScript Design Patterns
Javascript Design Patterns #5 - Observer Pattern
Observer Pattern - Design Patterns in JavaScript
Javascript Design Pattern #01
Builder Pattern - Design Patterns
JavaScript Design Patterns: 20 Patterns for Expert Code
JS Dsgn Patterns 20 Patterns for Advancing Your JS Skills: The Course Overview | packtpub.com
Комментарии