Tag

inheritance

0 views collected around this technical thread.

Continuous Delivery 2.0
Continuous Delivery 2.0
May 13, 2025 · Backend Development

Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices

The article outlines common backend code smells such as over‑engineering, deep inheritance hierarchies, excessive DTO/VO layers, unnecessary interfaces, and contract‑less microservice designs, explains why they harm team efficiency and project quality, and provides concrete Java examples and best‑practice recommendations to avoid them.

DTOJavaMicroservices
0 likes · 5 min read
Common Backend Code Smells and How to Prevent Over‑Engineering, Deep Inheritance, Excessive DTO Layers, Fake Interfaces, and Contract‑less Microservices
Java Captain
Java Captain
May 11, 2025 · Fundamentals

Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses

Abstract classes and interfaces are core object‑oriented concepts that enable reusable, extensible, and maintainable code; this article explains their definitions, design considerations, and real‑world applications, illustrated with Java examples of a Control hierarchy and a Shape interface implementation.

Abstract ClassJavaOOP
0 likes · 5 min read
Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses
Deepin Linux
Deepin Linux
May 11, 2025 · Fundamentals

Understanding C++ Virtual Function Tables (vtable) and Their Memory Layout

This article explains how C++ implements runtime polymorphism through virtual function tables, detailing their structure, memory placement, how they enable dynamic binding, and illustrating usage with single, multiple inheritance and practical code examples.

C++inheritancememory layout
0 likes · 17 min read
Understanding C++ Virtual Function Tables (vtable) and Their Memory Layout
php中文网 Courses
php中文网 Courses
Mar 31, 2025 · Fundamentals

Understanding Inheritance and Polymorphism in Python OOP

This article explains the core object‑oriented programming concepts of inheritance and polymorphism in Python, detailing their advantages, syntax, method overriding, and practical examples that demonstrate code reuse, extensibility, and flexible interfaces through class hierarchies and duck‑typing.

OOPPythoninheritance
0 likes · 7 min read
Understanding Inheritance and Polymorphism in Python OOP
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.

OOPPythondesign patterns
0 likes · 10 min read
Understanding Class Inheritance in Python: Basics, Overriding, Polymorphism, super() and Advanced Applications
php中文网 Courses
php中文网 Courses
Feb 26, 2025 · Backend Development

Object-Oriented Programming in PHP: Core Concepts and Advanced Features

This article introduces PHP's object-oriented programming paradigm, covering fundamental concepts such as classes, objects, properties, methods, the four OOP principles, advanced features like constructors, destructors, static members, magic methods, and best practices for building modular and maintainable backend applications.

OOPPHPbackend development
0 likes · 8 min read
Object-Oriented Programming in PHP: Core Concepts and Advanced Features
Test Development Learning Exchange
Test Development Learning Exchange
Feb 13, 2025 · Fundamentals

Understanding Python's isinstance() Function: Basics, Inheritance, and Best Practices

This article introduces Python's isinstance() function, explains its syntax, demonstrates basic and advanced usage including inheritance, abstract base classes, and best practices, and compares it with type() while highlighting type hints for more maintainable code.

Abstract Base ClassesBest PracticesPython
0 likes · 6 min read
Understanding Python's isinstance() Function: Basics, Inheritance, and Best Practices
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.

OOPPythonclasses
0 likes · 9 min read
Master Python Classes: Inheritance, Composition, and Advanced OOP Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Jan 19, 2025 · Fundamentals

Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation

This article introduces Python's object‑oriented programming fundamentals, explaining how to define classes, instantiate objects, differentiate class and instance attributes, and use various method types, followed by practical examples of inheritance, polymorphism, and encapsulation to build well‑structured, maintainable code.

OOPclassesencapsulation
0 likes · 7 min read
Understanding Classes and Objects in Python: Definitions, Instantiation, Attributes, Methods, Inheritance, Polymorphism, and Encapsulation
Test Development Learning Exchange
Test Development Learning Exchange
Jan 7, 2025 · Fundamentals

Understanding Classes and Objects in Python: Concepts, Inheritance, Special Methods, and Advanced Examples

This article introduces Python's class and object fundamentals, covering class definitions, instance and class variables, inheritance, special (dunder) methods, and advanced examples such as encapsulation, operator overloading, and the use of class and static methods, all illustrated with clear code snippets.

OOPPythonSpecial Methods
0 likes · 10 min read
Understanding Classes and Objects in Python: Concepts, Inheritance, Special Methods, and Advanced Examples
Test Development Learning Exchange
Test Development Learning Exchange
Jan 2, 2025 · Fundamentals

Understanding Python’s isinstance() and type() Functions: Syntax, Usage, and Differences

This article explains the purpose, syntax, parameters, return values, and practical examples of Python’s isinstance() and type() functions, compares their behavior regarding inheritance and polymorphism, and provides advanced usage scenarios for accurate type checking in code.

inheritanceisinstanceprogramming fundamentals
0 likes · 10 min read
Understanding Python’s isinstance() and type() Functions: Syntax, Usage, and Differences
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 20, 2024 · Frontend Development

Understanding JavaScript Prototypes and the Prototype Chain: A Comprehensive Guide

This article explains JavaScript objects, various ways to create them, the role of prototypes and the hidden __proto__ property, and how the prototype chain enables inheritance, illustrated with clear code examples and diagrams for front‑end developers.

Front-endJavaScriptPrototype
0 likes · 12 min read
Understanding JavaScript Prototypes and the Prototype Chain: A Comprehensive Guide
php中文网 Courses
php中文网 Courses
Nov 6, 2024 · Fundamentals

Why Static Properties Allow Modifying the Parent Class and Their Drawbacks

The article explains how static properties are shared in inheritance, allowing a subclass to modify the parent class's value, demonstrates this with PHP code, and discusses the disadvantages of using static members in large applications.

Best PracticesCode ExampleOOP
0 likes · 4 min read
Why Static Properties Allow Modifying the Parent Class and Their Drawbacks
Test Development Learning Exchange
Test Development Learning Exchange
Oct 30, 2024 · Fundamentals

Understanding Python Modules, Packages, Classes, and Inheritance

This guide explains Python modules, packages, class definitions, object creation, inheritance, and polymorphism, providing clear examples and code snippets to illustrate how to organize code, import components, and apply object‑oriented principles in practice.

ModulesPythonclasses
0 likes · 8 min read
Understanding Python Modules, Packages, Classes, and Inheritance
Test Development Learning Exchange
Test Development Learning Exchange
Sep 25, 2024 · Fundamentals

Duck Typing and Polymorphism in Python

This article explains duck typing and polymorphism in Python, two fundamental object-oriented programming concepts, with practical code examples demonstrating how objects can be treated based on their behavior rather than their type.

Dynamic TypingPythonduck typing
0 likes · 8 min read
Duck Typing and Polymorphism in Python
php中文网 Courses
php中文网 Courses
Sep 13, 2024 · Backend Development

Understanding PHP Static Members: self::, parent::, and static::

This article explains PHP static members, how self::, parent::, and static:: differ in inheritance contexts, when to use static members, and provides clear code examples illustrating their distinct behaviors for method and property access.

OOPPHPinheritance
0 likes · 7 min read
Understanding PHP Static Members: self::, parent::, and static::
php中文网 Courses
php中文网 Courses
Sep 11, 2024 · Backend Development

Mastering the PHP final Keyword: Preventing Inheritance and Method Overriding

This article explains the purpose and proper use of PHP's final keyword for classes and methods, illustrating when and how to apply it with clear code examples to enhance code stability, security, and maintainability in object‑oriented development.

OOPPHPbackend development
0 likes · 8 min read
Mastering the PHP final Keyword: Preventing Inheritance and Method Overriding
Tencent Architect
Tencent Architect
May 14, 2024 · Fundamentals

Unlocking C++ Object Memory Layout: From Basics to Inheritance and ASLR

This article walks through C++ object memory layout using concrete examples, covering basic data members, methods, private and static members, inheritance (with and without virtual functions), compiler optimizations, and address‑space layout randomization, all demonstrated with GDB inspections and code snippets.

ASLRC++GDB
0 likes · 22 min read
Unlocking C++ Object Memory Layout: From Basics to Inheritance and ASLR
php中文网 Courses
php中文网 Courses
Apr 15, 2024 · Fundamentals

Understanding Abstraction in Object-Oriented PHP Programming

This article explains the core concept of abstraction in software engineering, illustrating how using interfaces and abstract methods in PHP can simplify code, improve maintainability, and reduce developer focus on low‑level details, demonstrated through concrete Shape examples for rectangles, circles, and triangles.

PHPabstractioninheritance
0 likes · 5 min read
Understanding Abstraction in Object-Oriented PHP Programming