Tagged articles
90 articles
Page 1 of 1
IT Services Circle
IT Services Circle
May 14, 2026 · Fundamentals

Design Patterns: Born in 1994, Died in 2034 – A 40‑Year Saga

The article traces the fictional rise and fall of design patterns from their 1994 debut, through a golden era of OOP and interview hype, to their eclipse by modern language features and AI‑generated code, ending with AI agents unintentionally reinventing the same abstractions.

AI code generationDesign PatternsGang of Four
0 likes · 12 min read
Design Patterns: Born in 1994, Died in 2034 – A 40‑Year Saga
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
php Courses
php Courses
Nov 25, 2025 · Backend Development

When to Use PHP Static Methods: Benefits, Drawbacks, and Best Practices

This article explains what PHP static methods are, shows how to declare them, and examines their advantages such as no instantiation and increased reusability, as well as their disadvantages including testing difficulty and maintainability concerns.

code maintainabilityobject‑oriented programmingstatic methods
0 likes · 4 min read
When to Use PHP Static Methods: Benefits, Drawbacks, and Best Practices
php Courses
php Courses
Nov 5, 2025 · Backend Development

Master PHP Traits to Boost Reusability and Simplify Inheritance

This article explains PHP Traits—a reusable code mechanism that lets developers share methods and properties across classes, detailing their definition, usage with the `use` keyword, advantages like avoiding multiple inheritance and reducing redundancy, and important considerations such as method conflicts and priority.

Traitscode-reuseobject‑oriented programming
0 likes · 5 min read
Master PHP Traits to Boost Reusability and Simplify Inheritance
php Courses
php Courses
Aug 25, 2025 · Fundamentals

Master C++ Inheritance: Concepts, Syntax, and Best Practices

This article explains C++ inheritance fundamentals, covering its purpose, basic syntax, public/protected/private inheritance types, construction/destruction order, method overriding with the override keyword, multiple and virtual inheritance, and practical guidelines for effective use.

CMultiple InheritanceOverride
0 likes · 5 min read
Master C++ Inheritance: Concepts, Syntax, and Best Practices
Liangxu Linux
Liangxu Linux
Jul 24, 2025 · Fundamentals

How to Embrace Object‑Oriented Design in Pure C

This article demonstrates how to simulate object‑oriented programming in C by using structs and function pointers, defines a list interface, provides a full implementation with insertion, deletion, traversal, and testing code, and explains why such techniques improve readability and maintainability.

CData Structuresfunction pointers
0 likes · 10 min read
How to Embrace Object‑Oriented Design in Pure C
Code Mala Tang
Code Mala Tang
Jul 17, 2025 · Fundamentals

Why Object‑Oriented Programming Transforms Your Python Data Projects

Object‑oriented programming, though often overlooked in data‑centric Python scripts, becomes essential for managing complexity, improving readability, and enabling collaboration, as this guide demonstrates eight core OOP concepts—classes, encapsulation, inheritance, polymorphism, composition, class/staticmethods, magic methods, and abstract base classes—through clear examples.

OOPobject‑oriented programmingsoftware design
0 likes · 10 min read
Why Object‑Oriented Programming Transforms Your Python Data Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jun 21, 2025 · Fundamentals

Master the 7 Most Used Java Design Patterns with Real-World Code

This article explores the seven most commonly used design patterns in Java development—Singleton, Factory, Strategy, Observer, Decorator, Adapter, and Template Method—detailing their definitions, typical use cases, and providing fully commented code implementations that illustrate how each pattern can be applied in real projects.

Code ExamplesSoftware Architectureobject‑oriented programming
0 likes · 15 min read
Master the 7 Most Used Java Design Patterns with Real-World Code
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 18, 2025 · Fundamentals

Strategy Design Pattern in Java: Definition, Structure, Example, and Refactoring

This article explains the behavioral Strategy design pattern, describes its definition and structure, demonstrates a real‑world e‑commerce discount scenario with both a tangled if‑else implementation and a clean refactoring using Java interfaces, concrete strategy classes, a context, and a client, and finally discusses its advantages and drawbacks.

Design PatternsJavaStrategy Pattern
0 likes · 9 min read
Strategy Design Pattern in Java: Definition, Structure, Example, and Refactoring
php Courses
php Courses
Apr 28, 2025 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closures can capture external variables, demonstrates practical examples of wrapping reusable logic in anonymous functions, and shows how to combine closures with object‑oriented programming to improve code reuse and maintainability.

Anonymous FunctionsPHPclosure
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
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
Apr 2, 2025 · Backend Development

Understanding Getters and Setters in PHP

This article explains the purpose, implementation, and benefits of getters and setters in PHP, providing clear examples of how to define, use, and combine these methods to ensure data validation, encapsulation, and safer object-oriented code.

PHPgettersobject‑oriented programming
0 likes · 6 min read
Understanding Getters and Setters in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Mar 7, 2025 · Fundamentals

Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them

This article explains the core concept of polymorphism in object‑oriented programming, distinguishes compile‑time and runtime polymorphism, and provides ten practical Python examples—from animal sounds and shape drawing to payment processing, file handling, logging, and game characters—illustrating when and how to apply each technique.

Design PatternsMethod OverloadingMethod Overriding
0 likes · 9 min read
Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them
Test Development Learning Exchange
Test Development Learning Exchange
Mar 6, 2025 · Fundamentals

Understanding Class Attributes in Object‑Oriented Programming with Examples

This article explains the concept of class attributes in object‑oriented programming, contrasts them with instance attributes, and demonstrates ten practical scenarios—including shared data, default values, instance counting, singleton and factory patterns—through clear Python code examples and usage guidelines.

Class AttributesFactoryPython
0 likes · 10 min read
Understanding Class Attributes in Object‑Oriented Programming with Examples
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
php Courses
php Courses
Feb 8, 2025 · Backend Development

Understanding PHP 8.4 Property Hooks: Benefits, Examples, and Best Practices

PHP 8.4 introduces Property Hooks, a powerful feature that replaces traditional getters and setters with concise, type‑safe syntax, offering simplified code, enhanced encapsulation, automatic validation, and performance gains, illustrated through banking and e‑commerce pricing examples and practical implementation guidelines.

Backend DevelopmentPHPProperty Hooks
0 likes · 6 min read
Understanding PHP 8.4 Property Hooks: Benefits, Examples, and Best Practices
php Courses
php Courses
Jan 21, 2025 · Backend Development

Understanding PHP Classes: Concepts, Benefits, and Practical Examples

This article introduces PHP classes as object blueprints, explains why they improve code organization, reusability, maintainability, and security, and provides concrete PHP 8.4 examples such as Product, ShoppingCart, User, Order, and best‑practice guidelines like SRP, encapsulation, and type safety.

Backend DevelopmentOOPPHP
0 likes · 10 min read
Understanding PHP Classes: Concepts, Benefits, and Practical Examples
php Courses
php Courses
Nov 12, 2024 · Backend Development

Best Practices for Object-Oriented Programming in PHP

This article presents PHP OOP best‑practice guidelines—including class design, access modifiers, constructors, method chaining, and the Strategy pattern—illustrated with clear code examples to improve readability, maintainability, and flexibility.

Design PatternsOOPPHP
0 likes · 4 min read
Best Practices for Object-Oriented Programming in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Nov 1, 2024 · Fundamentals

Comprehensive Python Basics: Variables, Data Types, Control Structures, Functions, OOP, Standard Library, and More

This article provides a comprehensive Python tutorial covering variables, data types, control structures, functions, classes, standard library modules, file I/O, exception handling, comprehensions, generators, decorators, modules, virtual environments, coding style, and Git version control, complete with example code snippets.

Control structuresPythonStandard Library
0 likes · 14 min read
Comprehensive Python Basics: Variables, Data Types, Control Structures, Functions, OOP, Standard Library, and More
Test Development Learning Exchange
Test Development Learning Exchange
Oct 4, 2024 · Fundamentals

Unlock Python’s Power: Master Magic Methods for Advanced OOP

This tutorial explains Python’s magic (special) methods—including initialization, string representation, arithmetic, comparison, container protocols, iteration, attribute handling, context management, and callable behavior—showing how each method works with clear code examples to make classes more flexible and powerful.

PythonSpecial MethodsTutorial
0 likes · 9 min read
Unlock Python’s Power: Master Magic Methods for Advanced OOP
Test Development Learning Exchange
Test Development Learning Exchange
Sep 30, 2024 · Fundamentals

Understanding Data Encapsulation and Private Attributes in Object‑Oriented Programming (Python Examples)

This article explains the concept of data encapsulation and the role of private attributes in object‑oriented programming, illustrating their benefits and usage through multiple Python code examples covering simple classes, private methods, inheritance, property decorators, and descriptors.

EncapsulationOOPPython
0 likes · 8 min read
Understanding Data Encapsulation and Private Attributes in Object‑Oriented Programming (Python Examples)
Test Development Learning Exchange
Test Development Learning Exchange
Sep 20, 2024 · Fundamentals

Comprehensive Python Programming Guide: Data Types, Control Flow, Functions, OOP, and Advanced Features

This guide provides a thorough overview of Python programming, covering basic data types, control flow statements, function definitions, modules and packages, exception handling, file I/O, object‑oriented concepts, iterators, generators, context managers, decorators, functional programming, asynchronous code, metaclasses, standard and third‑party libraries, type annotations, design patterns, and practical tips such as enums and dataclasses.

Design PatternsPythonadvanced-python
0 likes · 19 min read
Comprehensive Python Programming Guide: Data Types, Control Flow, Functions, OOP, and Advanced Features
Deepin Linux
Deepin Linux
Sep 4, 2024 · Fundamentals

Comprehensive Overview of C/C++ Language Features, Standard Library, and Object‑Oriented Concepts

This article provides an extensive guide to C/C++ fundamentals, covering static and const qualifiers, references versus pointers, memory‑management techniques, STL container implementations, iterator behavior, object‑oriented principles, virtual functions, smart pointers, and modern C++11 features for both beginner and experienced developers.

C++C++11STL
0 likes · 44 min read
Comprehensive Overview of C/C++ Language Features, Standard Library, and Object‑Oriented Concepts
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 14, 2024 · Fundamentals

Why Design Patterns Matter: Master Reusable Solutions in OOP

This article explains what design patterns are, why they are essential for creating reusable and maintainable object‑oriented code, outlines their main categories, learning steps, and provides a Python command‑pattern example along with a guide to a comprehensive Python design‑patterns book.

Behavioral PatternsCreational PatternsDesign Patterns
0 likes · 7 min read
Why Design Patterns Matter: Master Reusable Solutions in OOP
Ops Development & AI Practice
Ops Development & AI Practice
May 27, 2024 · Fundamentals

Why Structured Programming Alone Falls Short and How OOP & FP Fill the Gaps

The article examines the drawbacks of relying solely on structured programming—such as tight module coupling, poor change isolation, and rigidity—and shows how integrating object‑oriented and functional programming can improve modularity, flexibility, and maintainability in complex software systems.

Programming Paradigmsfunctional programmingobject‑oriented programming
0 likes · 5 min read
Why Structured Programming Alone Falls Short and How OOP & FP Fill the Gaps
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
Test Development Learning Exchange
Test Development Learning Exchange
Mar 2, 2024 · Fundamentals

Understanding Python Packages, Classes, and Methods

This article explains the concept and structure of Python packages, demonstrates how to import modules and manage packages with pip, and provides a comprehensive overview of defining classes, their variables, special methods, and different types of methods such as instance, class, and static methods.

Packagesclassesfundamentals
0 likes · 7 min read
Understanding Python Packages, Classes, and Methods
php Courses
php Courses
Feb 22, 2024 · Backend Development

Understanding Class Type Declarations in PHP

This article explains PHP class type declarations, using a fruit‑shopping analogy and step‑by‑step code examples that show how to define Car and CarShop classes, enforce type safety with type hints, and avoid runtime errors caused by passing incorrect object types.

PHPType Safetyclass type declarations
0 likes · 9 min read
Understanding Class Type Declarations in PHP
php Courses
php Courses
Jan 19, 2024 · Backend Development

Defining Classes and Using Constructor Property Promotion in PHP

This article explains how to define a PHP class with properties and methods, demonstrates traditional class syntax with a Bird example, and shows how PHP 8's constructor property promotion and default values simplify class definitions while improving readability and efficiency.

Constructor PromotionPHPclasses
0 likes · 4 min read
Defining Classes and Using Constructor Property Promotion in PHP
php Courses
php Courses
Jan 12, 2024 · Backend Development

Defining Classes and Using Constructor Property Promotion in PHP

This article explains how to define a PHP class with properties and methods, demonstrates traditional class syntax, introduces PHP 8.0 constructor property promotion for more concise initialization, shows how to set default values, and outlines the benefits of using this feature.

ConstructorPHPProperty Promotion
0 likes · 5 min read
Defining Classes and Using Constructor Property Promotion in PHP
php Courses
php Courses
Dec 28, 2023 · Backend Development

Using Traits to Reduce Code Duplication in PHP Object‑Oriented Programming

This article explains how PHP traits enable code reuse across multiple classes, illustrating the problem of duplicated methods in Person‑derived classes like Student, Guardian, and Teacher, and showing step‑by‑step refactoring to eliminate redundancy while maintaining clear inheritance structures.

PHPTraitscode-reuse
0 likes · 6 min read
Using Traits to Reduce Code Duplication in PHP Object‑Oriented Programming
Tencent Cloud Developer
Tencent Cloud Developer
Oct 12, 2023 · Fundamentals

From 0 to 1: How to Design and Implement Your Own Scripting Language

The article walks readers through building a custom scripting language from scratch—explaining compilation basics, lexical scanning, parsing, bytecode generation, and virtual‑machine execution—using a sample language called eben to illustrate BNF syntax, variable scopes, control flow, functions, closures, object‑orientation, garbage collection, and the historical evolution of programming languages.

BNFCompilationGarbage Collection
0 likes · 46 min read
From 0 to 1: How to Design and Implement Your Own Scripting Language
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 18, 2023 · Fundamentals

Understanding the Strategy Design Pattern with Java Examples

This article explains the Strategy design pattern, its definition, structure, and how to refactor a typical e‑commerce discount calculation in Java using interfaces, concrete strategy classes, and a context, highlighting benefits, drawbacks, and best‑practice considerations.

Design PatternsJavaSoftware Architecture
0 likes · 9 min read
Understanding the Strategy Design Pattern with Java Examples
Java Architect Essentials
Java Architect Essentials
Jun 21, 2023 · Fundamentals

A Playful Guide to 23 Classic Design Patterns Illustrated with Everyday Scenarios

This article explains 23 fundamental software design patterns—such as Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Memento, Observer, State, Strategy, Template Method, Visitor, and more—using humorous real‑world analogies while also providing brief definitions and typical use‑cases.

JavaSoftware Engineeringobject‑oriented programming
0 likes · 18 min read
A Playful Guide to 23 Classic Design Patterns Illustrated with Everyday Scenarios
政采云技术
政采云技术
Dec 22, 2022 · Fundamentals

Understanding Refactoring: Motivation, Standards, and a Practical Java Example

This article explains why refactoring is essential for maintainable code, outlines quality standards such as readability and extensibility, and walks through a concrete Java example that evolves from a monolithic statement method to a clean, modular design using extract method, move method, and replace‑temp‑with‑query techniques.

Javaclean codecode quality
0 likes · 16 min read
Understanding Refactoring: Motivation, Standards, and a Practical Java Example
IT Architects Alliance
IT Architects Alliance
Dec 5, 2022 · Fundamentals

Essential Software Architecture Principles with Example Implementations

This article outlines core software architecture principles such as Dependency Inversion, Separation of Concerns, Inversion of Control, Dependency Injection, Single Responsibility, DRY, Open‑Closed, Persistence Ignorance, and many others, and illustrates them with Java code examples for actions and converters.

SOLIDSoftware Architecturedependency-injection
0 likes · 11 min read
Essential Software Architecture Principles with Example Implementations
Python Crawling & Data Mining
Python Crawling & Data Mining
Dec 1, 2022 · Fundamentals

How to Fix Common Python OOP Errors: A Step‑by‑Step Guide

This article walks through a Python object‑oriented programming issue raised by a community member, demonstrates how to correct string‑formatting mistakes, indentation errors, and undefined variable problems, and provides a complete, runnable code example to solidify OOP fundamentals.

OOPobject‑oriented programming
0 likes · 4 min read
How to Fix Common Python OOP Errors: A Step‑by‑Step Guide
Architects' Tech Alliance
Architects' Tech Alliance
May 29, 2022 · Fundamentals

Understanding Software Architecture: History, Concepts, and Definitions

This article explores the evolution of software development from machine code to high‑level languages, explains the two software crises and their solutions, defines system, subsystem, module, component, framework and architecture, and concludes that software architecture is a strategic response to system complexity requiring careful judgment and trade‑offs.

Software ArchitectureSoftware EngineeringSystem Design
0 likes · 12 min read
Understanding Software Architecture: History, Concepts, and Definitions
FunTester
FunTester
May 24, 2022 · Fundamentals

Why Abstract Thinking Is the Key to Scalable Software Design

The article explains how abstract thinking—extracting common traits, ignoring irrelevant details, and managing hierarchical levels—empowers programmers to write more reusable, maintainable code, illustrated with philosophical analogies, OOP examples, and concrete refactoring of type‑casting logic.

abstractioncode qualityobject‑oriented programming
0 likes · 10 min read
Why Abstract Thinking Is the Key to Scalable Software Design
Baidu Geek Talk
Baidu Geek Talk
May 19, 2022 · Fundamentals

Singleton Design Pattern: Implementation and Practical Applications

The Singleton design pattern guarantees a single, globally accessible instance, reducing memory overhead and global variables, with eager (init) and lazy (sync.Once) thread‑safe implementations in Go, and practical uses such as configuration management in Python, shared DB connections in PHP, and UI components like toasts in JavaScript.

Design PatternsGo ProgrammingJavaScript Programming
0 likes · 16 min read
Singleton Design Pattern: Implementation and Practical Applications
Laravel Tech Community
Laravel Tech Community
Mar 7, 2022 · Backend Development

Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features

This article explains PHP's Trait feature, showing how to use it for multiple inheritance, resolve method and property conflicts with insteadof and as, combine multiple Traits, and leverage advanced capabilities such as abstract methods and static members, all illustrated with complete code examples.

Code ExampleMultiple InheritancePHP
0 likes · 7 min read
Understanding PHP Traits: Usage, Conflict Resolution, and Advanced Features
Alibaba Cloud Developer
Alibaba Cloud Developer
Nov 23, 2021 · Fundamentals

Why Object‑Oriented Design Still Matters: From Machine Code to Domain‑Driven Architecture

This article traces the evolution of programming paradigms—from low‑level machine code through procedural and object‑oriented approaches—explains the pitfalls of poor abstraction, introduces domain‑driven design, and reviews key software design principles such as SOLID, OCP, DIP, PLOA and KISS.

Programming ParadigmsSOLIDSoftware Architecture
0 likes · 21 min read
Why Object‑Oriented Design Still Matters: From Machine Code to Domain‑Driven Architecture
Sohu Tech Products
Sohu Tech Products
Sep 22, 2021 · Fundamentals

Understanding Finite State Machines and Their Implementation in Swift

This article introduces finite‑state machines, explains their mathematical definition and classification, demonstrates a simple metro‑gate example, and provides two complete Swift implementations—one using object‑oriented design with protocols and classes and another using a functional style with generic transition structs and thread‑safe queues—followed by a real‑world keyboard‑state use case.

Finite State MachineSwiftfunctional programming
0 likes · 18 min read
Understanding Finite State Machines and Their Implementation in Swift
Liangxu Linux
Liangxu Linux
Apr 21, 2021 · Fundamentals

Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment

The article examines why truly reusable code is hard to achieve by contrasting functional programming in F# with object‑oriented programming in C# through a FizzBuzz implementation, highlighting differences in fragmentation, coupling, and flexibility that affect component reuse.

C#F#code-reuse
0 likes · 11 min read
Why Reusable Code Eludes Us: FP vs OO Through a FizzBuzz Experiment
WeDoctor Frontend Technology
WeDoctor Frontend Technology
Apr 20, 2021 · Fundamentals

Master Design Patterns: Boost Code Reusability, Readability, and Maintainability

This comprehensive guide explains what design patterns are, why they matter, the fundamentals of object‑oriented programming, ten core SOLID principles, a mnemonic for 23 patterns, and detailed examples of creational, structural, and behavioral patterns with real‑world code snippets to help developers write cleaner, more maintainable software.

Design PatternsSOLID principlesSoftware Architecture
0 likes · 28 min read
Master Design Patterns: Boost Code Reusability, Readability, and Maintainability
Python Programming Learning Circle
Python Programming Learning Circle
Apr 19, 2021 · Fundamentals

Understanding Python Magic (Dunder) Methods

This article explains Python's built‑in magic (dunder) methods—functions that start and end with double underscores—showing how they enable custom class behavior such as indexing, iteration, string representation, callable objects, context management, object creation, and attribute handling with clear code examples.

Callable ObjectsIteratorsPython
0 likes · 14 min read
Understanding Python Magic (Dunder) Methods
21CTO
21CTO
Apr 14, 2021 · Fundamentals

Why Mastering Abstraction Is the Secret to Cleaner, More Maintainable Code

This article explains how abstract thinking underpins software design, illustrates abstraction with visual and code examples, shows the pitfalls of duplicated code and forced casts, and offers practical habits—reading, summarizing, naming, and domain modeling—to strengthen a developer's abstraction skills.

Code RefactoringDomain Modelingabstraction
0 likes · 24 min read
Why Mastering Abstraction Is the Secret to Cleaner, More Maintainable Code
Architect's Tech Stack
Architect's Tech Stack
Apr 11, 2021 · Fundamentals

Refactoring Principles, Code Smells, and Practical Techniques for Improving Software Design

This article explains the concept of refactoring, why and when to refactor, enumerates common code smells, and presents concrete techniques such as extracting functions, moving methods or fields, and reorganizing class hierarchies to produce cleaner, more maintainable object‑oriented code.

clean codecode smellsobject‑oriented programming
0 likes · 24 min read
Refactoring Principles, Code Smells, and Practical Techniques for Improving Software Design
Top Architect
Top Architect
Mar 28, 2021 · Fundamentals

Anemic vs Rich Domain Model: Understanding DDD Concepts

The article explains the difference between anemic (transaction‑script) and rich (domain‑model) designs in DDD, outlines their historical origins, advantages and drawbacks, and argues why embedding behavior in domain objects aligns better with object‑oriented principles despite added complexity.

Domain-Driven DesignRich ModelSoftware Architecture
0 likes · 8 min read
Anemic vs Rich Domain Model: Understanding DDD Concepts
php Courses
php Courses
Mar 8, 2021 · Backend Development

Understanding PHP Traits: Definition, Syntax, and Usage

This article explains PHP traits—a code‑reuse mechanism for single‑inheritance languages—covering their definition, basic syntax, how to use them with the use keyword, resolving property and method conflicts, visibility adjustments, and abstract method support, all illustrated with clear examples.

PHPTraitscode-reuse
0 likes · 7 min read
Understanding PHP Traits: Definition, Syntax, and Usage
21CTO
21CTO
Feb 6, 2021 · Fundamentals

Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment

The article explores why building truly reusable components is challenging by comparing a concise functional F# implementation of FizzBuzz with a more verbose object‑oriented C# version, highlighting how language paradigms and design assumptions affect modularity, coupling, and extensibility.

CF#component reuse
0 likes · 11 min read
Why Are Reusable Components So Hard? A FP vs OO FizzBuzz Experiment
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
Programmer DD
Programmer DD
Sep 12, 2020 · Fundamentals

Debunking Common OOP Myths: Performance and Language Misconceptions

This article examines two widespread misconceptions about object‑oriented programming—whether OOP inevitably slows down applications and whether an OOP language automatically means OOP programming—using performance data, real‑world examples, and a Java code sample to clarify the truth.

COOPmisconceptions
0 likes · 9 min read
Debunking Common OOP Myths: Performance and Language Misconceptions
Programmer DD
Programmer DD
Sep 9, 2020 · Fundamentals

Debunking OOP Myths: Does Object‑Oriented Design Really Hurt Performance?

This article examines the widespread popularity of object‑oriented programming, dispels two common myths— that OOP inevitably slows down applications and that using an OOP language automatically means practicing OOP—by presenting performance data, real‑world examples, and a Java procedural code sample.

object‑oriented programmingprogramming mythssoftware design
0 likes · 10 min read
Debunking OOP Myths: Does Object‑Oriented Design Really Hurt Performance?
Python Crawling & Data Mining
Python Crawling & Data Mining
Aug 27, 2020 · Fundamentals

Master Python OOP: From Classes to Real‑World Objects

This article explains the fundamentals of object‑oriented programming in Python, covering concepts such as encapsulation, inheritance, polymorphism, class definition, instance creation, special methods, garbage collection, and the differences between equality and identity, all illustrated with clear code examples and diagrams.

OOPPythonPython Tutorial
0 likes · 11 min read
Master Python OOP: From Classes to Real‑World Objects
Youzan Coder
Youzan Coder
Aug 19, 2020 · Fundamentals

Understanding Design Patterns: Origins, Misconceptions, and Effective Learning

The article traces design patterns from Alexander’s 1977 architectural ideas through the GoF’s 1994 catalog, debunks myths that they’re obsolete for simple CRUD, shows their essential role in extensible frameworks and complex SaaS systems, and advises learning them by matching each pattern to the specific problem it solves while grounding them in core OOP concepts and the seven SOLID‑type design principles.

Design PatternsGoFOOP principles
0 likes · 12 min read
Understanding Design Patterns: Origins, Misconceptions, and Effective Learning
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 16, 2020 · Fundamentals

Master Python OOP: From Real‑World Thinking to Classes and Objects

This article introduces the fundamentals of object‑oriented programming in Python, contrasting procedural and OOP approaches, explaining classes, objects, their attributes and methods, and provides step‑by‑step code examples—including class definition, object creation, method invocation, and property manipulation—to help beginners grasp OOP concepts.

OOPObjectsPython
0 likes · 10 min read
Master Python OOP: From Real‑World Thinking to Classes and Objects
dbaplus Community
dbaplus Community
May 4, 2020 · Fundamentals

Why Design Patterns May Harm Your Projects More Than Help

The article argues that, despite the popularity of design patterns, blindly applying the 23 classic patterns rarely improves software quality and often leads to over‑engineered or fragile code, urging developers to critically assess their context, language features, and multi‑paradigm alternatives before using them.

Design PatternsSoftware ArchitectureSoftware Engineering
0 likes · 16 min read
Why Design Patterns May Harm Your Projects More Than Help
21CTO
21CTO
Oct 9, 2019 · Fundamentals

Mastering OOP in C: Implement the State Pattern with Real Code

This article walks you through applying object‑oriented concepts in C by implementing the State design pattern, covering class simulation with structs, inheritance via macros, lifecycle management, polymorphism, and a complete client example that demonstrates state transitions for a water model.

CDesign PatternsMemory Management
0 likes · 13 min read
Mastering OOP in C: Implement the State Pattern with Real Code
MaGe Linux Operations
MaGe Linux Operations
Jun 10, 2019 · Fundamentals

Master Python’s id() and Build a Singleton Pattern

This article explains how Python’s id() function reveals an object’s memory address, demonstrates its output with simple class instances, and guides you through implementing a singleton pattern using __new__ to ensure a class has only one shared instance.

id functionmemory addressobject‑oriented programming
0 likes · 6 min read
Master Python’s id() and Build a Singleton Pattern
Xianyu Technology
Xianyu Technology
Jan 29, 2019 · Mobile Development

Object Serialization in Flutter: A Practical Approach

The article examines Flutter’s limited built-in JSON handling, explains why the popular json_serializable package can fall short for complex, generic objects, and introduces fish-serializable—a custom library with a ValueHolder, FishSerializable interface, JsonSerializer, and IntelliJ plugin—already used in production at Alibaba’s Xianyu and soon to be open-sourced.

DARTFlutterJSON
0 likes · 8 min read
Object Serialization in Flutter: A Practical Approach
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
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
21CTO
21CTO
May 21, 2018 · Backend Development

Mastering PHP Magic Methods: 16 Essential Tricks for Developers

This guide explains the 16 most important PHP magic methods, showing when they are invoked, how to declare them, and providing clear code examples for constructors, destructors, property accessors, cloning, serialization, autoloading, and debugging to help developers write more robust object‑oriented code.

PHPmagic methodsobject‑oriented programming
0 likes · 19 min read
Mastering PHP Magic Methods: 16 Essential Tricks for Developers
MaGe Linux Operations
MaGe Linux Operations
Feb 22, 2018 · Fundamentals

Master Python Basics: Variables, Control Flow, Data Structures & OOP Explained

This tutorial introduces Python by explaining what it is, why to learn it, and then walks through core fundamentals such as variables, conditional statements, loops, lists, dictionaries, iteration techniques, and object‑oriented concepts like classes, encapsulation, and inheritance, all illustrated with clear code examples.

Data StructuresPythonobject‑oriented programming
0 likes · 20 min read
Master Python Basics: Variables, Control Flow, Data Structures & OOP Explained
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 2, 2018 · Backend Development

From Coder to Web Architect: Essential Skills, Mindset, and Roadmap

This article outlines the philosophical questions, practical steps, and essential knowledge—ranging from object‑oriented fundamentals and design patterns to refactoring, DBA, and operations—that developers need to master in order to evolve into competent web architects.

Career DevelopmentDesign PatternsSoftware Architecture
0 likes · 19 min read
From Coder to Web Architect: Essential Skills, Mindset, and Roadmap
21CTO
21CTO
Oct 13, 2017 · Fundamentals

Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP

This comprehensive tutorial walks you through Python fundamentals—from defining variables, booleans, strings, and numbers to using conditional statements, while and for loops, manipulating lists and dictionaries, and building classes with objects, encapsulation, and inheritance—providing clear code examples for each concept.

Control FlowData StructuresLoops
0 likes · 19 min read
Master Python Basics: Variables, Control Flow, Loops, Data Structures & OOP
MaGe Linux Operations
MaGe Linux Operations
Mar 14, 2017 · Fundamentals

Why Python’s Double Underscore Doesn’t Guarantee True Privacy

This article explains Python’s double‑underscore name‑mangling for private attributes, how they can still be accessed via class methods, the pitfalls of attribute shadowing, and why deleting dict entries may raise errors due to CPython’s underlying C implementation.

CPythonPythonattribute shadowing
0 likes · 4 min read
Why Python’s Double Underscore Doesn’t Guarantee True Privacy
21CTO
21CTO
Jan 19, 2016 · Backend Development

Mastering PHP Design Patterns: From Singleton to Command Explained

This article provides a comprehensive guide to PHP design patterns, covering fundamentals such as cloning, singleton, factory, abstract factory, composite, decorator, facade, strategy, observer, visitor, and command patterns with clear explanations and practical code examples.

Design PatternsSoftware Architectureobject‑oriented programming
0 likes · 18 min read
Mastering PHP Design Patterns: From Singleton to Command Explained