Learn to use object-oriented programming in Python to mimic pointer behavior and manage shared mutable state effectively.
💬مدرب ذكاء اصطناعي اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت.
🕐ابدأ في أي وقت بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك.
🌐بالعربية الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Python does not have native pointers like C or C++, which can make managing shared mutable state and in-place updates challenging for developers transitioning to the language. By leveraging object-oriented programming principles, you can eleganty simulate pointer behavior to control how data is referenced and modified across your application. This text-based course guides you through the foundational concepts of references, memory management, and object behavior in Python, showing you how to build custom wrapper classes that act like pointers.
You will start by learning how Python handles variables under the hood, comparing references to traditional pointers, and establishing a solid conceptual foundation. From there, you will design and implement classes that encapsulate mutable data, enabling you to pass references safely and update shared metrics in real time.
What you'll learn:
- Understand how Python manages memory, object references, and mutability
- Design custom wrapper classes to simulate pointer-like behavior and shared state
- Implement dynamic counter classes to track application metrics across different scopes
- Apply modern Python type hinting to make your simulated pointer classes self-documenting and robust
- Practice writing clean, testable object-oriented code with pytest to verify reference behavior
- Avoid common pitfalls associated with mutable default arguments and unexpected side effects
This course is designed for beginner to intermediate Python developers who want a deeper understanding of object references and how to structure clean, object-oriented solutions. No prior experience with lower-level pointer languages is required.
Start reading today to master Python references and write more predictable, maintainable code.
ما الذي ستحصل عليه
📜شهادة إتمام أضفها إلى ملفك على LinkedIn
💬مدرّس AI شخصي عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت.
♾️وصول مدى الحياة عُد متى شئت، بلا انتهاء
📱الهاتف أو الكمبيوتر يعمل في أي مكان وعلى أي جهاز
💸استرداد خلال 14 يومًا دون أسئلة
⚡قصير ومركَّز 2 ساعة 30 دقيقة من المحتوى التطبيقي
شهادة إتمام
كل دورة تكملها على PickAClass تُصدر شهادة كهذه — أصلية، بكودها الخاص، قابلة للتحقّق عبر الرابط، ومفصّلة عمّا أُثبت فعلًا.