Tagged articles
10 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Mar 6, 2025 · Fundamentals

Understanding Class Inheritance in Python: Basics, Overriding, Polymorphism, super() and Advanced Applications

This article explains Python class inheritance—from basic single inheritance and method overriding to polymorphism, super() calls, multiple inheritance, and design‑pattern implementations—providing code examples, usage scenarios, and best‑practice recommendations for writing reusable, extensible object‑oriented code.

Design PatternsInheritanceOOP
0 likes · 10 min read
Understanding Class Inheritance in Python: Basics, Overriding, Polymorphism, super() and Advanced Applications
Code Mala Tang
Code Mala Tang
Jan 21, 2025 · Fundamentals

Master Python Classes: Inheritance, Composition, and Advanced OOP Techniques

This guide explores Python class fundamentals, covering inheritance versus composition, the use of super(), distinctions among instance, class, and static methods, dataclasses, the __dict__ attribute, name mangling, @property, dynamic class creation with type(), and __slots__ for attribute control.

InheritanceOOPProperty
0 likes · 9 min read
Master Python Classes: Inheritance, Composition, and Advanced OOP Techniques
Laravel Tech Community
Laravel Tech Community
Feb 17, 2022 · Fundamentals

Overview of New Features in TypeScript 4.6

TypeScript 4.6 introduces several language enhancements such as executing code before super(), improved control‑flow analysis for discriminated unions and dependent parameters, a new Trace Analyzer tool, ES2022 target support, and stricter syntax checking for JavaScript files, all accompanied by illustrative code examples.

ES2022Trace AnalyzerTypeScript
0 likes · 4 min read
Overview of New Features in TypeScript 4.6
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2020 · Fundamentals

Understanding Python Class Inheritance: Five Common Techniques

This article explains the fundamentals of Python class inheritance, covering five typical ways to use parent class attributes and methods—including direct calls, super() for private members, method overriding, invoking __init__, and passing initialization parameters—accompanied by clear code examples.

ClassInheritanceMethod Overriding
0 likes · 6 min read
Understanding Python Class Inheritance: Five Common Techniques
MaGe Linux Operations
MaGe Linux Operations
Feb 6, 2018 · Fundamentals

Master Python Inheritance: Benefits, Pitfalls, and Best Practices

This article explains Python's object‑oriented programming fundamentals, introduces classes and instances, details how inheritance works, discusses its advantages and disadvantages—including issues with built‑in type subclassing—and offers practical guidance on multiple inheritance, method resolution order, and using super.

Abstract Base ClassInheritanceMRO
0 likes · 10 min read
Master Python Inheritance: Benefits, Pitfalls, and Best Practices