
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.
Tap a tile to toggle its color. When a tile changes nearby tiles may change as well. Each move affect multiple tiles. The target is to turn all tiles into yellow in the fewest steps possible.
Press 'j' to show/hide the game. Press 'i' to show/hide the instructions. Press 't' to show/hide the top score table.
| Name | Steps |
|---|
You solved the puzzle in 0 steps!
Score submitted successfully!
Failed to submit score. Please try again.

The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.

Unlike design patterns, anti patterns just seem to be a solution. However, they are not a solution and they cause additional costs.

Based on my experience, it seems that most of the developers that use MongoDB are not familiar with the MongoDB design patterns.
Accessibility | Career | Conferences | Design Patterns | JavaScript | Meetups | PHP | Podcasts | Python | Self Learning
Teaching Methodologies | Fullstack | C++ | C# | CSS | Node.js | Angular | Java | Go | Android | Kotlin | Swift | Academy
Front End Development | Scala | Architectures | Cloud | Big Data | Internet of Things | Kids Learn Programming
Coding is Art! Developing Code That Works is Simple. Develop Code with Style is a Challenge!