Tagged articles
103 articles
Page 1 of 2
Lisa Notes
Lisa Notes
Apr 24, 2026 · Fundamentals

Java Inheritance from Scratch: Stage‑2 AI Learning Notes

This note explains Java inheritance, covering the single‑inheritance class hierarchy, a Car class example, a ChildCar subclass that adds a load field, and eight key inheritance capabilities such as member reuse, method overriding, and constructor chaining, illustrating why inheritance improves code reuse and quality.

Class HierarchyConstructorInheritance
0 likes · 7 min read
Java Inheritance from Scratch: Stage‑2 AI Learning Notes
Lisa Notes
Lisa Notes
Mar 26, 2026 · Fundamentals

Java Classes and Objects: A Beginner’s Guide from Scratch

This article explains the fundamentals of object‑oriented programming in Java, covering objects, classes, inheritance, encapsulation, polymorphism, and packages with concrete examples that illustrate how real‑world concepts map to Java code and how objects interact through message passing.

EncapsulationInheritanceJava
0 likes · 12 min read
Java Classes and Objects: A Beginner’s Guide from Scratch
Java Tech Enthusiast
Java Tech Enthusiast
Mar 22, 2026 · Backend Development

How to Bridge Incompatible C++ Logging Interfaces with Adapter Patterns

A C++ developer faces a mismatched logging API between an internal ILogger interface and a third‑party FastLogger library, and the article walks through class‑adapter inheritance, its limitations, and a more flexible object‑adapter composition solution that enables runtime switching across multiple logger implementations.

Adapter PatternC++Design Patterns
0 likes · 9 min read
How to Bridge Incompatible C++ Logging Interfaces with Adapter Patterns
IT Services Circle
IT Services Circle
Mar 5, 2026 · Fundamentals

Simulating OOP Polymorphism in C with Function Pointers and Vtables

The article walks through a C programmer's journey from hard‑coded if‑else shape handling to embedding function pointers in structs, introducing shared function tables, automatic initialization, memory savings, inheritance via table overrides, and finally showing how C++ virtual functions automate the same mechanism.

C programmingInheritancePolymorphism
0 likes · 10 min read
Simulating OOP Polymorphism in C with Function Pointers and Vtables
SpringMeng
SpringMeng
Feb 27, 2026 · Backend Development

How to Use IntelliJ IDEA Diagrams to Explore Java Inheritance and Source Code

This guide shows how to leverage IntelliJ IDEA's diagram feature to visualize inheritance and interface relationships of Java classes, prune irrelevant nodes, inspect members, filter visibility, add additional classes, and quickly jump to source code, making code navigation far more efficient.

DiagramsIDE TipsInheritance
0 likes · 5 min read
How to Use IntelliJ IDEA Diagrams to Explore Java Inheritance and Source Code
Selected Java Interview Questions
Selected Java Interview Questions
Dec 11, 2025 · Backend Development

Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories

This guide explains how to split a large Java project into Maven modules, use parent‑project inheritance and aggregation to share configurations, manage dependency versions with dependencyManagement, and configure a private repository for releasing SNAPSHOT and RELEASE artifacts, complete with practical code snippets and step‑by‑step instructions.

BackendInheritanceJava
0 likes · 11 min read
Master Maven Multi‑Module Design: Inheritance, Aggregation, and Private Repositories
Deepin Linux
Deepin Linux
Nov 30, 2025 · Fundamentals

When Does C++ Generate a Default Copy Constructor? A Deep Dive

This article explains the role of copy constructors in C++, when the compiler automatically provides a default one, the situations that trigger copy construction, why bitwise copying can be unsafe, and how to implement proper deep‑copy semantics with clear code examples.

CCopy ConstructorDefault Constructor
0 likes · 31 min read
When Does C++ Generate a Default Copy Constructor? A Deep Dive
Architect's Tech Stack
Architect's Tech Stack
Aug 21, 2025 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA's diagram feature to visualize, clean up, and explore Java Servlet inheritance hierarchies, including removing irrelevant classes, viewing method details, zooming, adding related classes, and jumping directly to source code.

Backend DevelopmentClass DiagramInheritance
0 likes · 6 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
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.

InheritanceJavaMicroservices
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 ClassInheritanceInterface
0 likes · 5 min read
Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses
21CTO
21CTO
Apr 21, 2025 · Backend Development

Master PHP Inheritance: Single, Multi‑Level, and Hierarchical Explained

This tutorial explains PHP inheritance concepts—including single, multi‑level, and hierarchical inheritance—showing how to reuse and extend code with practical examples of method overriding, the parent keyword, constructors, interfaces, and access modifiers.

Backend DevelopmentInheritanceMethod Overriding
0 likes · 10 min read
Master PHP Inheritance: Single, Multi‑Level, and Hierarchical Explained
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.

InheritanceOOPPolymorphism
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.

Design PatternsInheritanceOOP
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.

Backend DevelopmentEncapsulationInheritance
0 likes · 8 min read
Object-Oriented Programming in PHP: Core Concepts and Advanced Features
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
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.

InheritanceOOPObjects
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.

InheritanceOOPObjects
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
Oct 3, 2024 · Fundamentals

Master Python OOP: Classes, Inheritance, Magic Methods & More

This comprehensive guide walks through Python's object‑oriented programming essentials, covering class definitions, attributes, common magic methods, inheritance, polymorphism, exception handling, as well as module and package creation and usage, complete with clear code examples for each concept.

Exception HandlingInheritanceModules
0 likes · 12 min read
Master Python OOP: Classes, Inheritance, Magic Methods & More
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.

InheritanceOOPparent
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.

Backend DevelopmentInheritanceMethod Overriding
0 likes · 8 min read
Mastering the PHP final Keyword: Preventing Inheritance and Method Overriding
大转转FE
大转转FE
Aug 9, 2024 · Frontend Development

Mastering JavaScript Prototype Chain: A Complete Guide

This article explains the JavaScript prototype chain in depth, covering the definitions of prototype and __proto__, their relationships, how objects inherit properties, the role of constructors, and includes practical code examples and visual diagrams to illustrate each concept.

InheritanceJavaScriptObject-Oriented
0 likes · 9 min read
Mastering JavaScript Prototype Chain: A Complete Guide
Open Source Tech Hub
Open Source Tech Hub
Jun 13, 2024 · Backend Development

When to Use parent::, self::, and static:: in PHP OOP

This guide explains the differences between PHP's parent::, self::, and static:: keywords, shows how they behave in inheritance hierarchies with concrete code examples, and offers practical advice on when to choose each form to avoid common pitfalls.

InheritanceOOPPHP
0 likes · 10 min read
When to Use parent::, self::, and static:: in PHP OOP
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.

ASLRCInheritance
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.

InheritanceInterfacesPHP
0 likes · 5 min read
Understanding Abstraction in Object-Oriented PHP Programming
php Courses
php Courses
Apr 1, 2024 · Backend Development

Understanding Constructors in PHP Inheritance

This article explains how PHP constructors work in class inheritance, detailing when child classes must explicitly call parent constructors, how required parameters affect this behavior, and provides clear code examples illustrating proper use of the parent::__construct syntax.

ConstructorsInheritanceObject-Oriented
0 likes · 8 min read
Understanding Constructors in PHP Inheritance
ByteFE
ByteFE
Jan 29, 2024 · Frontend Development

Master CSS Cascading, Inheritance, and Specificity to Write Cleaner Styles

This article explains the three core CSS concepts—cascading, inheritance, and specificity—detailing how browsers resolve conflicting rules, the role of importance and source, selector weight calculations, the impact of rule order, and the use of keywords like !important, initial, inherit, revert, unset, and @layer to control styling.

CSSCascadingInheritance
0 likes · 29 min read
Master CSS Cascading, Inheritance, and Specificity to Write Cleaner Styles
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 28, 2024 · Frontend Development

Understanding CSS Cascade, Inheritance, and Specificity

This article explains the core concepts of CSS—cascade, inheritance, and specificity—detailing how browsers resolve conflicting style rules, the role of source order, importance, selector weight, and newer features like @layer, while providing practical code examples and visual illustrations.

CASCADECSSInheritance
0 likes · 27 min read
Understanding CSS Cascade, Inheritance, and Specificity
Python Programming Learning Circle
Python Programming Learning Circle
Dec 29, 2023 · Fundamentals

Introduction to Object-Oriented Programming in Python

This article provides a comprehensive overview of Python's object‑oriented programming features, covering classes, class and instance variables, methods, inheritance, method overriding, built‑in class attributes, and garbage collection, supplemented with clear code examples and explanations.

Garbage CollectionInheritanceOOP
0 likes · 9 min read
Introduction to Object-Oriented Programming in Python
php Courses
php Courses
Dec 13, 2023 · Fundamentals

Understanding Classes, Objects, and OOP Principles in PHP

This article introduces the core concepts of object‑oriented programming—classes, objects, abstraction, encapsulation, inheritance, and polymorphism—using clear explanations and practical PHP code examples that demonstrate class definitions, object instantiation, method calls, and inheritance hierarchies.

EncapsulationInheritanceOOP
0 likes · 9 min read
Understanding Classes, Objects, and OOP Principles in PHP
Sohu Tech Products
Sohu Tech Products
Dec 6, 2023 · Fundamentals

Understanding JavaScript Constructors, Prototypes, Classes, and Inheritance

The article thoroughly explains JavaScript constructors, prototype chains, the this binding, and ES6 class syntax, showing how functions become constructors with new, how prototypes link objects, custom new/instanceof implementations, and various inheritance patterns—including parasitic combination inheritance realized by class extends and super.

ClassConstructorInheritance
0 likes · 22 min read
Understanding JavaScript Constructors, Prototypes, Classes, and Inheritance
Model Perspective
Model Perspective
Jul 18, 2022 · Fundamentals

How to Model Chromosome Inheritance with Matrices and Python

This article explains the fundamentals of autosomal inheritance, derives probability tables for genotype combinations, formulates a matrix recurrence, and demonstrates how to compute long‑term genotype distributions using Python code.

Inheritancegeneticsmatrix model
0 likes · 5 min read
How to Model Chromosome Inheritance with Matrices and Python
Java One
Java One
Jun 4, 2022 · Fundamentals

Understanding Java Polymorphism: Concepts, Implementation, and Common Pitfalls

This article explains Java polymorphism by illustrating inheritance hierarchies, runtime method binding, and the differences between static and dynamic dispatch, while providing concrete code examples that demonstrate how method overriding, field access, and down‑casting behave in practice.

InheritanceJavaMethod Overriding
0 likes · 6 min read
Understanding Java Polymorphism: Concepts, Implementation, and Common Pitfalls
Java One
Java One
May 25, 2022 · Fundamentals

When to Use Composition, Inheritance, or Delegation in Java? A Practical Guide

This article explains how Java developers can reuse code without duplication by employing composition, inheritance, and delegation, details the syntax and initialization rules for each, and clarifies the use of the final keyword for data, methods, parameters, and classes.

DelegationInheritanceJava
0 likes · 11 min read
When to Use Composition, Inheritance, or Delegation in Java? A Practical Guide
JavaEdge
JavaEdge
May 24, 2022 · Fundamentals

Why Inheritance Fails: Mastering the Decorator Pattern in Java

This article explains the Decorator design pattern, contrasting it with inheritance, and shows how to dynamically extend Java classes—especially I/O streams—using composition, complete with code examples, class diagrams, advantages, drawbacks, and practical usage scenarios.

Decorator PatternDesign PatternsInheritance
0 likes · 15 min read
Why Inheritance Fails: Mastering the Decorator Pattern in Java
FunTester
FunTester
Apr 13, 2022 · Fundamentals

Why Groovy’s getTest Method Hijacks Your Static Calls – A Deep Dive

An in‑depth analysis reveals how Groovy’s implicit getter feature and method‑resolution rules cause a static method call to be intercepted by a subclass’s getTest method, leading to unexpected output and thread locking during performance testing.

GroovyInheritanceJVM
0 likes · 8 min read
Why Groovy’s getTest Method Hijacks Your Static Calls – A Deep Dive
macrozheng
macrozheng
Feb 21, 2022 · Fundamentals

When Inheritance Breaks Your Code: Why Composition Often Wins

This article critiques the over‑idealization of object‑oriented programming, explaining how inheritance can create tight coupling and hidden bugs, why encapsulation may leak state, the limits of polymorphism, and how modern stateless service architectures favor composition and functional approaches.

EncapsulationInheritanceOOP
0 likes · 13 min read
When Inheritance Breaks Your Code: Why Composition Often Wins
dbaplus Community
dbaplus Community
Feb 9, 2022 · Databases

From DDD to Database Design: Transforming Relational and NoSQL Schemas

This article explains how domain‑driven design shifts database modeling from a data‑structure‑first approach to a domain‑model‑centric process, covering persistence of domain objects, the conversion of the four classic relational relationships and inheritance into tables, and the distinct strategies required for NoSQL databases.

DDDDatabase designInheritance
0 likes · 18 min read
From DDD to Database Design: Transforming Relational and NoSQL Schemas
Java Architect Essentials
Java Architect Essentials
Jan 21, 2022 · Backend Development

Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships

This tutorial demonstrates how to leverage IntelliJ IDEA's diagram feature to view, filter, and explore inheritance and interface implementation relationships of Java Servlet classes, including customizing the diagram, inspecting class members, and navigating source code directly from the visual representation.

Class DiagramIDEInheritance
0 likes · 6 min read
Using IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance and Interface Relationships
IT Architects Alliance
IT Architects Alliance
Aug 4, 2021 · Fundamentals

Layered Architecture: Strict, Relaxed, and Inheritance‑Based Approaches

The article explains the concepts, rules, and evolution of layered architecture—including strict layering, relaxed layering, and inheritance‑based layering—while illustrating practical implementations with Java code and discussing how front‑end separation and DDD influence architectural decisions.

Architecture PatternsBackendDDD
0 likes · 8 min read
Layered Architecture: Strict, Relaxed, and Inheritance‑Based Approaches
Python Crawling & Data Mining
Python Crawling & Data Mining
May 18, 2021 · Fundamentals

Master Python Classes: From Basics to Advanced OOP Techniques

An in‑depth Python tutorial walks through the fundamentals of classes, covering creation, instance and class methods, protected and private members, core OOP features such as encapsulation, inheritance and polymorphism, as well as dynamic attribute handling with __slots__ and property decorators, illustrated with clear examples.

EncapsulationInheritanceOOP
0 likes · 8 min read
Master Python Classes: From Basics to Advanced OOP Techniques
Python Programming Learning Circle
Python Programming Learning Circle
Apr 29, 2021 · Fundamentals

Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming

This tutorial introduces Python fundamentals, covering why to learn the language, variable assignment, conditional statements, loops, lists, dictionaries, iteration techniques, and core object‑oriented concepts such as classes, getters/setters, encapsulation, and inheritance, all illustrated with clear code examples.

Control FlowData StructuresInheritance
0 likes · 20 min read
Python Basics: Variables, Control Flow, Data Structures, and Object‑Oriented Programming
Python Programming Learning Circle
Python Programming Learning Circle
Apr 25, 2021 · Fundamentals

Understanding Class Relationships in Object‑Oriented Programming: Dependency, Composition, and Inheritance with Python Examples

This article explains the three core class relationships in object‑oriented programming—dependency, composition, and inheritance—illustrates each with clear Python code, discusses inheritance advantages, single‑ and multiple‑inheritance types, and introduces the method‑resolution‑order (MRO) algorithm.

Class RelationshipsInheritanceMRO
0 likes · 11 min read
Understanding Class Relationships in Object‑Oriented Programming: Dependency, Composition, and Inheritance with Python Examples
21CTO
21CTO
Dec 16, 2020 · Fundamentals

How to Implement Object‑Oriented Programming in C: From Encapsulation to Polymorphism

This article explains why and how to apply object‑oriented programming concepts such as encapsulation, inheritance, and polymorphism using plain C, provides the necessary prerequisites, and walks through complete code examples—including virtual tables—to demonstrate OOP techniques without relying on C++.

C programmingEncapsulationInheritance
0 likes · 17 min read
How to Implement Object‑Oriented Programming in C: From Encapsulation to Polymorphism
JavaEdge
JavaEdge
Nov 20, 2020 · Backend Development

Why Java Annotations Don't Inherit to Subclass Methods and How to Work Around It

This article explains the limits of annotation inheritance in Java, demonstrates why subclass methods cannot automatically inherit parent annotations, and shows how to use @Inherited, Spring's AnnotatedElementUtils, and find/get semantics to retrieve inherited annotations effectively.

@InheritedAnnotatedElementUtilsInheritance
0 likes · 6 min read
Why Java Annotations Don't Inherit to Subclass Methods and How to Work Around It
Java Captain
Java Captain
Oct 27, 2020 · Fundamentals

Understanding Sealed Classes in Java JDK 15

This article explains Java JDK 15’s sealed class feature, showing how to declare sealed classes, the required permits clause, and the necessary final, sealed, or non‑sealed modifiers for subclasses, illustrated with complete code examples.

InheritanceJDK15Java
0 likes · 3 min read
Understanding Sealed Classes in Java JDK 15
Top Architect
Top Architect
Oct 22, 2020 · Backend Development

Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams

This guide explains how to use IntelliJ IDEA's diagram feature to view, clean up, and explore the inheritance and interface implementation relationships of Java Servlet classes, including removing irrelevant nodes, inspecting class members, adding related classes, and navigating to source code.

Class DiagramIDE TipsInheritance
0 likes · 5 min read
Visualizing Java Servlet Inheritance Hierarchy with IntelliJ IDEA Diagrams
Programmer DD
Programmer DD
Sep 14, 2020 · Backend Development

Master IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance

This guide shows how to use IntelliJ IDEA's diagram feature to clearly display inheritance and interface relationships of Java Servlet classes, remove irrelevant nodes, explore class members, add additional classes, and quickly navigate to source code, making backend code comprehension much easier.

Class DiagramIDE TipsInheritance
0 likes · 5 min read
Master IntelliJ IDEA Diagrams to Visualize Java Servlet Inheritance
Java Backend Technology
Java Backend Technology
Sep 3, 2020 · Backend Development

Master Java Servlet Inheritance with IntelliJ IDEA Diagrams

This guide shows how to use IntelliJ IDEA’s diagram feature to visualize Java Servlet inheritance and interface relationships, remove irrelevant classes, display detailed members, zoom the view, add additional classes, and quickly jump to source code, making backend code exploration much easier.

Class DiagramInheritanceIntelliJ IDEA
0 likes · 5 min read
Master Java Servlet Inheritance with IntelliJ IDEA Diagrams
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
Tech Musings
Tech Musings
Mar 27, 2020 · Fundamentals

How Virtual Functions Expand C++ Class Size and Shape Memory Layout

This article explains how C++ compilers implement virtual functions using a hidden vptr and virtual table, showing how class size grows from 1 to 8 bytes, detailing memory layouts for single, multiple, and diamond inheritance, and providing commands to dump vtable and layout information.

CInheritanceVTable
0 likes · 14 min read
How Virtual Functions Expand C++ Class Size and Shape Memory Layout
MaGe Linux Operations
MaGe Linux Operations
Mar 16, 2020 · Fundamentals

Top 10 Python Fundamentals Every Developer Should Know

This article presents ten essential Python concepts—from language features and copy semantics to inheritance, multithreading, monkey‑patching, argument handling, special methods, ternary expressions, and memory management—providing clear explanations and code examples for each.

InheritancePythondeep copy
0 likes · 7 min read
Top 10 Python Fundamentals Every Developer Should Know
Sohu Tech Products
Sohu Tech Products
Feb 26, 2020 · Frontend Development

Comprehensive Guide to JavaScript Inheritance Types and Their Usage

This article provides a thorough overview of JavaScript inheritance mechanisms—including prototype chain, constructor stealing, combination, parasitic, and ES6 class inheritance—detailing their implementations, advantages, drawbacks, and practical usage with clear code examples and best‑practice recommendations.

ClassConstructorES5
0 likes · 12 min read
Comprehensive Guide to JavaScript Inheritance Types and Their Usage
政采云技术
政采云技术
Aug 20, 2019 · Frontend Development

JavaScript Objects, Prototypes, and Inheritance Explained

This article provides a comprehensive guide to JavaScript’s object model, covering object literals, constructor functions, prototype inheritance, prototype chains, and practical coding patterns, illustrating how to create, extend, and manage objects efficiently in modern frontend development.

InheritanceJavaScriptObjects
0 likes · 41 min read
JavaScript Objects, Prototypes, and Inheritance Explained
UC Tech Team
UC Tech Team
Oct 9, 2018 · Fundamentals

Goodbye Object‑Oriented Programming: The Collapse of Inheritance, Encapsulation, and Polymorphism

The article critiques the core pillars of object‑oriented programming—inheritance, encapsulation, and polymorphism—illustrating their practical pitfalls with real‑world analogies and code examples, and proposes containment and delegation as safer alternatives before urging a shift toward functional programming.

EncapsulationInheritancePolymorphism
0 likes · 11 min read
Goodbye Object‑Oriented Programming: The Collapse of Inheritance, Encapsulation, and Polymorphism
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 15, 2018 · Fundamentals

Mastering UML: The Six Core Relationships Every Developer Should Know

UML class diagrams feature six primary relationships—Generalization, Realization, Dependency, Association, Aggregation, and Composition—each with distinct visual notations and semantics, and this guide explains their definitions, code representations in Java, and practical examples to help developers model system structures accurately.

AssociationInheritanceUML
0 likes · 8 min read
Mastering UML: The Six Core Relationships Every Developer Should Know
MaGe Linux Operations
MaGe Linux Operations
Jun 4, 2018 · Fundamentals

From Assembly to OOP: A 7-Day Mythic Journey Through Programming Fundamentals

The article narrates a seven‑day mythic saga where God bestows programming concepts—assembly, functions, data structures, objects, classes, inheritance, polymorphism, and design patterns—on humanity, illustrating how each breakthrough transformed code from tangled sequences into organized, reusable, and abstracted software.

Design PatternsInheritanceobject‑oriented programming
0 likes · 7 min read
From Assembly to OOP: A 7-Day Mythic Journey Through Programming Fundamentals
Java Captain
Java Captain
Apr 21, 2018 · Fundamentals

Java Type Checking, Polymorphism, Upcasting and Downcasting

This article explains Java's strong typing, type declarations, basic primitive conversions (narrowing and widening), and demonstrates upcasting, downcasting, and polymorphism through concrete class examples such as Human, Cup, and BrokenCup, highlighting how the runtime resolves method calls.

InheritanceJavaPolymorphism
0 likes · 7 min read
Java Type Checking, Polymorphism, Upcasting and Downcasting
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
Java Captain
Java Captain
Jan 19, 2018 · Fundamentals

Understanding Polymorphism in Java

This article explains Java polymorphism, covering its definition, dynamic binding, necessary conditions, benefits such as substitutability and extensibility, and demonstrates implementation through interfaces, inheritance, method overriding and overloading, accompanied by sample code and a quiz with expected outputs.

Dynamic BindingInheritanceMethod Overloading
0 likes · 6 min read
Understanding Polymorphism in Java
21CTO
21CTO
Jan 15, 2018 · Fundamentals

Master Python Encapsulation & Inheritance: Public vs Private Variables Explained

This article explains Python's object-oriented principles, illustrating how encapsulation hides data through public and private instance variables, demonstrates getter/setter methods, and shows inheritance by extending classes, all accompanied by clear code examples.

EncapsulationInheritanceOOP
0 likes · 9 min read
Master Python Encapsulation & Inheritance: Public vs Private Variables Explained
Architecture Digest
Architecture Digest
Dec 4, 2017 · Fundamentals

Rethinking Object‑Oriented Programming: From Myth to Practical Understanding

The article reflects on a decade of programming experience to demystify object‑oriented programming, arguing that OOP should be taught as a practical tool for reducing complexity rather than an abstract doctrine, and discusses how to organize functions into classes, avoid misuse of inheritance and design patterns, and focus on solving real problems.

Design PatternsInheritancecode organization
0 likes · 10 min read
Rethinking Object‑Oriented Programming: From Myth to Practical Understanding
MaGe Linux Operations
MaGe Linux Operations
Sep 15, 2017 · Fundamentals

Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained

This article introduces Python's object‑oriented programming fundamentals, covering class definitions, class and instance variables, the __init__ constructor, the role of self, inheritance, method overriding, built‑in class attributes, garbage collection, and private members, complemented by illustrative code snippets.

Garbage CollectionInheritanceOOP
0 likes · 9 min read
Master Python OOP: Classes, Inheritance, and Object Lifecycle Explained