The Visitor Design Pattern in C++, Java, and Python
Learn how to add new operations to existing object structures without modifying them, using practical text-based examples in C++, Java, and Python.
-
💬
Instruktor AI
Zadawaj pytania o każdą lekcję i otrzymuj jasną odpowiedź od razu, o każdej porze. -
🕐
Zacznij kiedy chcesz
Bez harmonogramów i terminów — ucz się we własnym tempie, kiedy chcesz. -
🌐
Po polsku
Lekcje, zadania i certyfikat — wszystko w pełni w Twoim języku.
O tym kursie
Adding new functionality to an existing class hierarchy can easily break your code or violate the Open-Closed Principle. The Visitor design pattern solves this by cleanly separating algorithms from the object structures on which they operate.
This course teaches you how to implement the Visitor pattern across three major programming languages: C++, Java, and Python. You will understand the mechanics of double dispatch, learn how to keep your data classes clean, and explore how to write highly maintainable, extensible software.
What you'll learn:
- Understand the core concepts of behavioral design patterns and the Open-Closed Principle.
- Implement the Visitor pattern using double dispatch mechanics in C++, Java, and Python.
- Apply modern language features like Python's type hints and Java's sealed interfaces to make your implementations robust.
- Analyze real-world scenarios where separating operations from data structures prevents code bloat.
- Compare traditional Visitor implementations with modern language-specific alternatives like pattern matching.
- Practice refactoring rigid codebases into clean, visitor-compliant architectures.
Starting with essential definitions and foundational concepts, this text-based course guides you through step-by-step written code explanations and conceptual exercises. You will explore parallel implementations in all three languages to build a versatile understanding of the pattern.
This course is designed for developers who know basic object-oriented programming in at least one of the target languages; no prior design pattern experience is required.
Expand your software architecture toolkit by mastering this essential behavioral pattern today.
Co otrzymasz
-
📜
Certyfikat ukończenia
Dodaj do profilu LinkedIn -
💬
Osobisty tutor AI
Utknąłeś na lekcji? Zapytaj wbudowanego tutora o cokolwiek, w dowolnej chwili. -
🎧
Wersja audio w zestawie
Ucz się w drodze — bez ekranu -
♾️
Dożywotni dostęp
Wracaj, kiedy chcesz — bez wygaśnięcia -
📱
Telefon lub komputer
Działa wszędzie, na każdym urządzeniu -
💸
Zwrot w 14 dni
Bez pytań -
⚡
Krótko i konkretnie
3 godz praktycznej treści
Recenzje
Brak recenzji — bądź pierwszą osobą, która podzieli się doświadczeniem.
Inni uczyli się też
🌟 Wybór studentów
🎓 Z certyfikatem
Nowoczesne podstawy Java: programowanie funkcjonalne, rekordy i nowoczesne funkcje
Certyfikat
Praktyka
₾40.00
→
🌟 Wybór studentów
🎓 Z certyfikatem
Programowanie asynchroniczne i wielowątkowość w C#
Certyfikat
Praktyka
₾40.00
→
⚡ Najlepszy na start
🎓 Z certyfikatem
Pisanie wysokowydajnego Pythona: optymalizacja prędkości i pamięci
Certyfikat
Praktyka
₾40.00
→
🏆 Najpopularniejszy
🎓 Z certyfikatem
Programowanie przez przykład: budowanie niezawodnych aplikacji
Certyfikat
Praktyka
₾40.00
→
Najczęstsze pytania
Czego potrzebuję, by wziąć udział w tym kursie? +
Wystarczy telefon lub komputer z internetem. Bez instalacji i specjalnego sprzętu.
Jak zapłacić? +
Kartą przez Stripe. Nie przechowujemy danych karty — robi to bezpiecznie Stripe.
Czy mogę otrzymać zwrot? +
Tak — pełen zwrot w 14 dni, bez pytań.
Jak długo będę mieć dostęp? +
Na zawsze. Po zakupie kurs jest twój — wracaj, kiedy chcesz.
Czy dostanę certyfikat? +
Tak. Po ukończeniu otrzymasz certyfikat, który możesz dodać do profilu LinkedIn.
Stworzony dla uczących się w
IT
Design
Finanse
Marketing
Ochrona zdrowia
Edukacja
Hotelarstwo
Produkcja