The Visitor Design Pattern in C++, Java, and Python — WalkSelf
⏱ 3 ساعة 📚 30 دورة 🎧 النسخة الصوتية

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.

  • 💬 مدرب ذكاء اصطناعي
    اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت.
  • 🕐 ابدأ في أي وقت
    بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك.
  • 🌐 بالعربية
    الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.

حول هذه الدورة

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.

ما الذي ستحصل عليه

  • 📜 شهادة إتمام
    أضفها إلى ملفك على LinkedIn
  • 💬 مدرّس AI شخصي
    عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت.
  • 🎧 النسخة الصوتية مضمَّنة
    تعلَّم أثناء تنقُّلك — دون شاشة
  • ♾️ وصول مدى الحياة
    عُد متى شئت، بلا انتهاء
  • 📱 الهاتف أو الكمبيوتر
    يعمل في أي مكان وعلى أي جهاز
  • 💸 استرداد خلال 14 يومًا
    دون أسئلة
  • ⚡ قصير ومركَّز
    3 ساعة من المحتوى التطبيقي

المراجعات

لا توجد مراجعات بعد — كن أول من يشارك تجربته.

اكتب مراجعة

☆☆☆☆☆
سنطلب منك تسجيل الدخول بعد الإرسال — تُحفظ مسودتك.

المتعلمون أخذوا أيضًا

الأسئلة الشائعة

ما الذي أحتاجه لأخذ هذه الدورة؟ +

يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.

كيف يمكنني الدفع؟ +

بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.

هل يمكنني استرداد المال؟ +

نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.

إلى متى يستمر وصولي؟ +

إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.

هل سأحصل على شهادة؟ +

نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.

مصمَّم للعاملين في
التقنية التصميم المالية التسويق الرعاية الصحية التعليم الضيافة التصنيع