Tagged articles
136 articles
Page 1 of 2
Lisa Notes
Lisa Notes
Apr 18, 2026 · Fundamentals

Java Basics: Building a Car Class from Scratch

This learning note walks through a complete Java Car class example, explaining its instance fields (brand, color, speed, id), a static count field, a parameterized constructor that auto‑increments the count, and accessor methods that illustrate core object‑oriented concepts.

ClassConstructorJava
0 likes · 4 min read
Java Basics: Building a Car Class from Scratch
Lisa Notes
Lisa Notes
Apr 17, 2026 · Fundamentals

Mastering Java’s this Keyword: A Beginner’s Guide from Scratch

This tutorial explains how the Java this keyword references the current object, showing its use for accessing shadowed member variables and invoking other constructors through clear code examples such as Point and Rectangle classes.

Object-OrientedTutorialconstructor chaining
0 likes · 6 min read
Mastering Java’s this Keyword: A Beginner’s Guide from Scratch
Lisa Notes
Lisa Notes
Mar 29, 2026 · Fundamentals

Java Class Definition: A Beginner’s Guide from Scratch

This tutorial walks through Java class fundamentals, covering class declarations, modifiers, member variables, methods, method overloading, and constructors with clear syntax examples and code snippets to help beginners write and understand Java classes.

ClassConstructorJava
0 likes · 8 min read
Java Class Definition: A Beginner’s Guide from Scratch
java1234
java1234
Jan 29, 2026 · Fundamentals

When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes

The article analyzes three common forms of bad encapsulation in Java—over‑encapsulation, false encapsulation, and chaotic encapsulation—illustrates their hidden risks with concrete code examples, and offers practical principles to restore clear responsibilities, minimal interfaces, and flexible design.

EncapsulationJavaObject-Oriented
0 likes · 13 min read
When Over‑Encapsulation Breaks Your Code: Real‑World Pitfalls and Fixes
php Courses
php Courses
Dec 18, 2025 · Backend Development

Master PHP Getters and Setters: Practical Examples and Best Practices

This guide explains PHP getters and setters, detailing their purpose, implementation, and advantages, and provides comprehensive code examples that demonstrate how to validate and control access to private properties for safer, more reliable object-oriented programming.

Object-Orienteddata validationgetter
0 likes · 6 min read
Master PHP Getters and Setters: Practical Examples and Best Practices
php Courses
php Courses
Nov 1, 2025 · Backend Development

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

This article explains what static methods are in PHP, shows how to define them, and examines their advantages such as simplicity and resource savings alongside drawbacks like testing difficulty and reduced maintainability, helping developers decide when to apply them.

BackendObject-OrientedPHP
0 likes · 4 min read
When to Use PHP Static Methods? Benefits, Drawbacks, and Best Practices
Tencent Cloud Developer
Tencent Cloud Developer
Sep 25, 2025 · Fundamentals

Unlock the Secrets of Object‑Oriented Analysis & Design for Better Software

This comprehensive guide explores the evolution of object‑oriented programming, clarifies its core concepts, and walks readers through use‑case modeling, static and dynamic modeling, responsibility‑driven design patterns, and advanced modeling techniques, providing a complete knowledge framework for software engineers and architects.

AnalysisDDDObject-Oriented
0 likes · 44 min read
Unlock the Secrets of Object‑Oriented Analysis & Design for Better Software
IT Services Circle
IT Services Circle
Sep 3, 2025 · Fundamentals

Unlock Python’s Magic: Master Dunder Methods for Cleaner, Powerful Code

Learn how Python’s special “dunder” methods like __str__, __add__, __eq__, __iter__, and others let you customize object representation, arithmetic, comparison, and iteration, turning your classes into intuitive, built‑in‑type equivalents with clear examples and practical code snippets.

Code ExamplesObject-OrientedPython
0 likes · 8 min read
Unlock Python’s Magic: Master Dunder Methods for Cleaner, Powerful Code
Code Mala Tang
Code Mala Tang
Jun 19, 2025 · Fundamentals

What Really Creates Python Objects? Unveiling __new__ vs __init__

This article explains how Python actually creates objects, clarifying the distinct roles of the __new__ and __init__ methods, and demonstrates practical techniques such as inheriting immutable types, adding metadata, and implementing singleton patterns through custom object creation.

Object-OrientedPythondesign-patterns
0 likes · 13 min read
What Really Creates Python Objects? Unveiling __new__ vs __init__
php Courses
php Courses
Apr 1, 2025 · Fundamentals

Understanding Python Magic (Dunder) Methods

This article explains Python's magic (dunder) methods, categorizing them by purpose—construction, representation, comparison, arithmetic, container behavior, callability, and context management—and provides clear code examples illustrating how to customize class behavior for more Pythonic, intuitive objects.

Object-OrientedPythondunder methods
0 likes · 11 min read
Understanding Python Magic (Dunder) Methods
Liangxu Linux
Liangxu Linux
Jan 26, 2025 · Fundamentals

Mastering GObject: A Practical Guide to C’s Object System

This article introduces GObject, the object‑oriented C framework from GLib, explains its core concepts, demonstrates how to define classes and instances with code examples, shows signal usage, and highlights its cross‑language interoperability for building robust software components.

GLibGObjectObject-Oriented
0 likes · 7 min read
Mastering GObject: A Practical Guide to C’s Object System
php Courses
php Courses
Jan 26, 2025 · Backend Development

Understanding Getters and Setters in PHP

This article explains the purpose and usage of getters and setters in PHP, illustrating their advantages and providing comprehensive code examples that demonstrate how to implement and combine these methods to ensure data validation, security, and consistency.

Object-OrientedPHPgetters
0 likes · 7 min read
Understanding Getters and Setters in PHP
php Courses
php Courses
Jan 8, 2025 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can encapsulate reusable code blocks, demonstrates basic closure syntax, shows how to pass closures for data processing, and illustrates combining closures with object-oriented programming to enhance flexibility and maintainability.

Object-OrientedPHPclosure
0 likes · 4 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
php Courses
php Courses
Nov 28, 2024 · Backend Development

Understanding Getters and Setters in PHP: Purpose, Usage, and Practical Examples

This article explains the purpose and implementation of getters and setters in PHP, demonstrates their advantages for data validation and encapsulation, and provides comprehensive code examples showing how to combine them for secure and reliable object property management.

BackendObject-Orienteddata encapsulation
0 likes · 6 min read
Understanding Getters and Setters in PHP: Purpose, Usage, and Practical Examples
php Courses
php Courses
Aug 21, 2024 · Backend Development

Understanding Getters and Setters in PHP

This article explains the purpose, implementation, and benefits of getters and setters in PHP, providing clear code examples that demonstrate how to encapsulate validation logic for private properties to improve data safety and object reliability.

Object-Orientedgettersetter
0 likes · 6 min read
Understanding Getters and Setters in PHP
php Courses
php Courses
Aug 15, 2024 · Backend Development

Using Accessors and Mutators in PHP for Data Handling

This article explains PHP accessors and mutators, demonstrating how to define getter and setter methods, incorporate additional logic such as formatting, validation, and caching, and provides complete code examples to illustrate their practical use in backend development.

AccessorMutatorObject-Oriented
0 likes · 7 min read
Using Accessors and Mutators in PHP for Data Handling
DevOps
DevOps
Aug 12, 2024 · Fundamentals

The Importance of Design and Modeling in Software Development

This article explains why software engineers should perform design and modeling—such as business modeling, process analysis, and system modeling—before writing code, highlighting how these practices align development with business goals, improve collaboration, and reduce costly rework caused by changing requirements.

ModelingObject-OrientedSoftware Architecture
0 likes · 9 min read
The Importance of Design and Modeling in Software Development
大转转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
php Courses
php Courses
Jul 11, 2024 · Fundamentals

Understanding SOLID Principles with Java Examples

This article explains the five SOLID design principles—SRP, OCP, LSP, ISP, and DIP—detailing their definitions, common violations, and Java code examples that demonstrate how to refactor classes for better modularity, extensibility, and maintainability.

JavaObject-OrientedSOLID
0 likes · 7 min read
Understanding SOLID Principles with Java Examples
php Courses
php Courses
Jun 19, 2024 · Fundamentals

Why We Need Secondary Constructors and How to Implement Them in Kotlin

The article explains the importance of auxiliary (secondary) constructors for flexible object creation, contrasts PHP's lack of support with Kotlin's feature, and demonstrates clean implementations using primary constructors and static factory methods to improve readability and maintainability.

ConstructorsDesign PatternsKotlin
0 likes · 4 min read
Why We Need Secondary Constructors and How to Implement Them in Kotlin
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
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
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Nov 17, 2023 · Fundamentals

Factory Method Pattern: Definition, Structure, Implementation, Advantages, and Use Cases

This article explains the Factory Method design pattern, covering its definition, UML diagram, key participants, the problems it solves compared to the Simple Factory, step‑by‑step Java implementation with code examples, advantages, disadvantages, application scenarios, and differences from the Simple Factory pattern.

Design PatternsFactory MethodJava
0 likes · 8 min read
Factory Method Pattern: Definition, Structure, Implementation, Advantages, and Use Cases
Cognitive Technology Team
Cognitive Technology Team
Sep 28, 2023 · Fundamentals

Guidelines for Designing Immutable Classes in Java

This article outlines seven essential practices for creating immutable Java classes, including declaring the class as final, using private final fields, omitting setters, performing deep copies, overriding equals() and hashCode(), avoiding this‑escape in constructors, and protecting against reflective modification.

ImmutableJavaObject-Oriented
0 likes · 2 min read
Guidelines for Designing Immutable Classes in Java
php Courses
php Courses
Aug 24, 2023 · Backend Development

Accessing Private Members in PHP with __get(), __set() and ArrayAccess

This article explains why PHP throws "attempt to access private member" errors, describes the visibility keywords public, protected, private, and demonstrates how to use the magic methods __get() and __set() as well as the ArrayAccess interface to read and write private properties from outside the class.

ArrayAccessObject-OrientedPHP
0 likes · 5 min read
Accessing Private Members in PHP with __get(), __set() and ArrayAccess
Top Architecture Tech Stack
Top Architecture Tech Stack
Aug 19, 2023 · Fundamentals

The Seven SOLID Principles in Java Software Design

This article explains the seven SOLID principles of Java software design—Single Responsibility, Open‑Closed, Liskov Substitution, Interface Segregation, Dependency Inversion, Law of Demeter, and Composite Reuse—illustrating each with clear Java code examples that demonstrate how to write more maintainable, extensible, and flexible object‑oriented code.

JavaObject-OrientedSOLID
0 likes · 18 min read
The Seven SOLID Principles in Java Software Design
Test Development Learning Exchange
Test Development Learning Exchange
Jul 7, 2023 · Fundamentals

Understanding the Command Pattern with Python Examples

The article introduces the Command design pattern, explains its key roles such as Command, ConcreteCommand, Receiver, Invoker, and Client, outlines its advantages, and provides multiple Python code examples demonstrating light control, undo operations, file handling, shopping cart management, and menu actions.

Command PatternDesign PatternsObject-Oriented
0 likes · 10 min read
Understanding the Command Pattern with Python Examples
JD Tech
JD Tech
Jun 20, 2023 · Fundamentals

Design Patterns, Architectural Patterns, and Programming Paradigms: Theory, Examples, and Practical Guidance

This article analyses the relationship between design patterns, architectural patterns and programming paradigms, explains core concepts and principles, provides extensive examples in Java and Python, presents common pattern catalogs, and offers practical implementation guidelines and case studies for software developers.

Code ExamplesObject-OrientedProgramming Paradigms
0 likes · 28 min read
Design Patterns, Architectural Patterns, and Programming Paradigms: Theory, Examples, and Practical Guidance
JD Cloud Developers
JD Cloud Developers
May 5, 2023 · Fundamentals

Unlocking Design Patterns: How Programming Paradigms Shape Your Code

This article explains what design patterns and programming paradigms are, how they relate to each other, and why they matter for software architecture, while providing concrete Java and Python examples of creational, structural, and behavioral patterns applied to real‑world scenarios.

Creational PatternsObject-OrientedProgramming Paradigms
0 likes · 22 min read
Unlocking Design Patterns: How Programming Paradigms Shape Your Code
Architecture Digest
Architecture Digest
Feb 18, 2023 · Fundamentals

Understanding the Factory Pattern: Simple Factory, Factory Method, and Abstract Factory with Real-world Examples

This article explains the three main factory design patterns—Simple Factory, Factory Method, and Abstract Factory—detailing their concepts, typical use cases such as document parsing and browser automation, and providing complete Java‑style code examples to illustrate each pattern's implementation and benefits.

Factory PatternJavaObject-Oriented
0 likes · 12 min read
Understanding the Factory Pattern: Simple Factory, Factory Method, and Abstract Factory with Real-world Examples
JavaEdge
JavaEdge
Jan 27, 2023 · Fundamentals

Why Your Java Code Feels Procedural and How to Adopt Multi‑Paradigm Design

Even though Java promotes object‑oriented programming, many developers write code that looks like procedural C, mixing business logic across layers; this article explains programming paradigms, their constraints, and how to combine structured, object‑oriented, and functional techniques into a clean multi‑paradigm design.

JavaObject-OrientedProgramming Paradigms
0 likes · 9 min read
Why Your Java Code Feels Procedural and How to Adopt Multi‑Paradigm Design
Architect's Guide
Architect's Guide
Dec 26, 2022 · Fundamentals

Software Architecture Principles: A Guide for Architects

This article presents a comprehensive overview of essential software architecture principles—including Dependency Inversion, Separation of Concerns, Inversion of Control, Dependency Injection, SOLID rules, and more—explaining their purpose, practical impact, and providing Java code examples to illustrate their application in real projects.

Object-OrientedSOLIDSoftware Architecture
0 likes · 11 min read
Software Architecture Principles: A Guide for Architects
Architecture Digest
Architecture Digest
Dec 25, 2022 · Fundamentals

Understanding the Decorator Pattern with Practical Java Examples

This article explains the Decorator Pattern—a design pattern that lets developers extend object behavior without modifying existing code—by describing its core components, showing a generic UML diagram, and providing three detailed Java case studies covering task processing, file I/O, and logging systems.

Decorator PatternDesign PatternsJava
0 likes · 12 min read
Understanding the Decorator Pattern with Practical Java Examples
Baidu Geek Talk
Baidu Geek Talk
Dec 22, 2022 · Fundamentals

Mastering the Decorator Pattern: Real‑World Java Examples for Extensible Code

This article explains the Decorator design pattern, presents its UML structure, describes the roles of abstract components, concrete components, and decorators, and demonstrates three practical Java scenarios—task processing, file I/O, and logging—showing how to extend functionality without modifying existing classes.

Decorator PatternDesign PatternsJava
0 likes · 12 min read
Mastering the Decorator Pattern: Real‑World Java Examples for Extensible Code
The Dominant Programmer
The Dominant Programmer
Nov 1, 2022 · Fundamentals

Understanding SOLID Design Principles with Java Code Examples

This article explains the seven SOLID software design principles—Open‑Closed, Dependency Inversion, Single Responsibility, Interface Segregation, Law of Demeter, Liskov Substitution, and Composite/Reuse—illustrating each rule with clear Java code snippets, refactorings, and practical scenarios such as product pricing, purchasing workflows, and database access.

Dependency InversionJavaObject-Oriented
0 likes · 17 min read
Understanding SOLID Design Principles with Java Code Examples
Top Architect
Top Architect
Oct 15, 2022 · Fundamentals

Understanding SOLID Principles, UML Relationships, and Common Design Patterns

This article explains core object-oriented design concepts including the SOLID principles, UML relationship types, and a comprehensive overview of common design patterns such as Factory Method, Singleton, Adapter, and Observer, providing clear definitions, intents, and applicability for software architects.

Design PatternsObject-OrientedSOLID
0 likes · 26 min read
Understanding SOLID Principles, UML Relationships, and Common Design Patterns
DaTaobao Tech
DaTaobao Tech
Sep 21, 2022 · Fundamentals

Factory Pattern: Simple Factory, Factory Method, and Abstract Factory – Concepts, Code, UML, Pros & Cons

The article explains the Factory design pattern family—Simple Factory, Factory Method, and Abstract Factory—showing how each separates object creation from use, presents Java code and UML examples, and compares their advantages such as decoupling and Open/Closed compliance against drawbacks like increased complexity and class proliferation.

Factory PatternJavaObject-Oriented
0 likes · 19 min read
Factory Pattern: Simple Factory, Factory Method, and Abstract Factory – Concepts, Code, UML, Pros & Cons
MaGe Linux Operations
MaGe Linux Operations
May 20, 2022 · Fundamentals

Master Python Essentials: Numbers, Strings, Functions, and Objects Explained

This comprehensive guide walks through Python fundamentals, covering numeric operations, base conversions, ASCII handling, logical checks, type casting, string manipulation, slicing, lambda usage, data structures, class definitions, object introspection, and useful built‑in functions, complete with clear code examples and explanations.

Data StructuresObject-OrientedTutorial
0 likes · 29 min read
Master Python Essentials: Numbers, Strings, Functions, and Objects Explained
Java One
Java One
May 8, 2022 · Fundamentals

Master Java Fundamentals: From Access Control to Polymorphism

This article provides a concise yet comprehensive guide to core Java concepts, covering access modifiers, aggregation versus inheritance, polymorphism, single-root inheritance, object lifecycle, method signatures, and operator nuances, helping developers build a solid foundation for backend development.

JavaObject-Orientedfundamentals
0 likes · 7 min read
Master Java Fundamentals: From Access Control to Polymorphism
Programmer DD
Programmer DD
Apr 29, 2022 · Fundamentals

Master 23 Classic Design Patterns with Real-World Analogies

This article humorously illustrates 23 classic software design patterns—such as Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—using everyday relationship scenarios to make each pattern’s intent and structure easy to grasp.

Design PatternsObject-OrientedSoftware Architecture
0 likes · 19 min read
Master 23 Classic Design Patterns with Real-World Analogies
Top Architect
Top Architect
Mar 26, 2022 · Fundamentals

A Top Architect’s Humorous Guide to 23 Classic Design Patterns

This article presents a light‑hearted yet comprehensive overview of 23 classic software design patterns—such as Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—explaining each pattern’s intent, structure, advantages, and drawbacks through everyday analogies.

Design PatternsObject-OrientedSoftware Architecture
0 likes · 19 min read
A Top Architect’s Humorous Guide to 23 Classic Design Patterns
Architecture Digest
Architecture Digest
Feb 28, 2022 · Fundamentals

Object‑Oriented Modeling: Concepts, Code Examples, and Design Principles

This article explains the principles of object‑oriented modeling, contrasting object and data models, illustrating with a simple account example, discussing composition versus aggregation, and providing Java code snippets for modeling processes such as eating, demonstrating how to design and implement domain objects and services.

JavaModelingObject-Oriented
0 likes · 12 min read
Object‑Oriented Modeling: Concepts, Code Examples, and Design Principles
Top Architect
Top Architect
Dec 16, 2021 · Fundamentals

Object‑Oriented Modeling: From Data Model to Object Model, Composition, Aggregation and Practical Java Examples

This article explains the fundamentals of object‑oriented modeling, contrasting data‑model and object‑model designs, illustrating attribute‑method composition, composition versus aggregation, and providing concrete Java and SQL examples such as a simple Account domain, an eating‑process model, and an open‑source e‑commerce reference.

ModelingObject-Orientedaggregation
0 likes · 14 min read
Object‑Oriented Modeling: From Data Model to Object Model, Composition, Aggregation and Practical Java Examples
Top Architect
Top Architect
Dec 1, 2021 · Fundamentals

Object‑Oriented Modeling: Concepts, Java Implementations, and Composition vs. Aggregation

This article explains the fundamentals of object‑oriented modeling, contrasts data‑model and object‑model designs with Java code examples such as a simple Account entity and an eating‑process simulation, and clarifies the difference between composition and aggregation while also touching on application services and a Spring‑Boot e‑commerce project.

JavaModelingObject-Oriented
0 likes · 12 min read
Object‑Oriented Modeling: Concepts, Java Implementations, and Composition vs. Aggregation
Code Ape Tech Column
Code Ape Tech Column
Nov 22, 2021 · Fundamentals

25 Common Code Smells and Their Refactoring Solutions

This article explains twenty‑five typical code smells—such as duplicated code, long methods, large classes, and excessive parameters—and provides concrete refactoring techniques like Extract Method, Extract Class, and Move Method to improve readability, maintainability, and design quality in object‑oriented software.

Object-Orientedclean codecode smell
0 likes · 19 min read
25 Common Code Smells and Their Refactoring Solutions
php Courses
php Courses
Nov 12, 2021 · Backend Development

PHP 8.1 Readonly Properties: Usage, Rules, and Practical Examples

This article explains PHP 8.1's new readonly property feature, shows how it differs from previous DTO patterns, demonstrates proper syntax, outlines restrictions such as type requirements and inheritance rules, and provides cloning work‑arounds with code examples for backend developers.

Object-Orienteddtophp-8.1
0 likes · 7 min read
PHP 8.1 Readonly Properties: Usage, Rules, and Practical Examples
JD Retail Technology
JD Retail Technology
Oct 11, 2021 · Mobile Development

Common Programming Paradigms in Objective‑C: Chainable, Reactive, Functional, Procedural, and Object‑Oriented

This article introduces the major programming paradigms frequently used in Objective‑C—including chainable, reactive, functional, procedural, and object‑oriented styles—explaining their concepts, advantages, and providing concrete code examples to help developers design cleaner, more maintainable iOS applications.

ChainableObject-OrientedObjective‑C
0 likes · 11 min read
Common Programming Paradigms in Objective‑C: Chainable, Reactive, Functional, Procedural, and Object‑Oriented
macrozheng
macrozheng
Sep 13, 2021 · Fundamentals

Master the 7 Essential SOLID Principles for Clean, Maintainable Code

This article introduces the classic GOF design patterns and then explains seven core software design principles—Single Responsibility, Open/Closed, Liskov Substitution, Dependency Inversion, Interface Segregation, Composition over Inheritance, and the Law of Demeter—showing how they improve code reliability, readability, and extensibility.

Design PatternsObject-OrientedSOLID
0 likes · 11 min read
Master the 7 Essential SOLID Principles for Clean, Maintainable Code
MaGe Linux Operations
MaGe Linux Operations
Jul 30, 2021 · Fundamentals

Unlock Python’s Hidden Attribute System: __dict__, property, and __getattr__ Explained

This article explains how Python stores object attributes in layered __dict__ structures, distinguishes class and instance attributes, demonstrates attribute lookup, shows how to modify attributes directly or via property, and introduces dynamic attribute creation using __getattr__ and related special methods.

AttributesObject-OrientedProperty
0 likes · 8 min read
Unlock Python’s Hidden Attribute System: __dict__, property, and __getattr__ Explained
Python Programming Learning Circle
Python Programming Learning Circle
Jul 21, 2021 · Fundamentals

Understanding Python's __dict__ System, Properties, and Dynamic Attribute Generation

This article explains Python's __dict__ attribute storage, class and instance attributes, demonstrates how to inspect and modify them, introduces properties using the built‑in property() function, and shows dynamic attribute generation with __getattr__, providing clear code examples and explanations.

AttributesObject-OrientedProperty
0 likes · 9 min read
Understanding Python's __dict__ System, Properties, and Dynamic Attribute Generation
Alibaba Cloud Developer
Alibaba Cloud Developer
May 26, 2021 · Fundamentals

How to Refactor C Code: From Simple Scripts to Object‑Oriented and Functional Styles

This article walks through a step‑by‑step refactoring of a small C program that reads employee data, adjusts salaries, and writes results, illustrating how to identify repeated code, extract reusable abstractions, apply object‑oriented and functional techniques, and even explore dynamic scope and data‑structure replacement for cleaner, more maintainable software.

C programmingObject-Orientedfunctional programming
0 likes · 42 min read
How to Refactor C Code: From Simple Scripts to Object‑Oriented and Functional Styles
Python Programming Learning Circle
Python Programming Learning Circle
May 18, 2021 · Fundamentals

Object Persistence in Python Using Pickle and Related Techniques

This article explains Python object persistence, covering the concepts of serialization with pickle and cPickle, various storage mechanisms, handling of complex objects, reference cycles, class instance pickling, versioning strategies, and advanced techniques such as custom state methods and Pickler/Unpickler usage.

Object-OrientedPersistencePickle
0 likes · 22 min read
Object Persistence in Python Using Pickle and Related Techniques
Java Captain
Java Captain
May 16, 2021 · Game Development

Creating a Hero in a Java Game: Step-by-Step Tutorial (Part 1)

This article walks through building a simple Java-based game prototype by creating hero, equipment, and monster classes, demonstrating object-oriented concepts, and showing a main program that simulates hero creation, resource gathering, and equipment purchase.

Code ExampleEquipmentGame Development
0 likes · 9 min read
Creating a Hero in a Java Game: Step-by-Step Tutorial (Part 1)
Intelligent Backend & Architecture
Intelligent Backend & Architecture
May 8, 2021 · Fundamentals

Mastering Behavioral Design Patterns: When and How to Use Them

This article provides a comprehensive overview of behavioral design patterns—including Chain of Responsibility, Command, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—explaining their motivations, class diagrams, advantages, disadvantages, and typical scenarios for applying each pattern in software development.

Behavioral PatternsDesign PatternsObject-Oriented
0 likes · 20 min read
Mastering Behavioral Design Patterns: When and How to Use Them
Python Programming Learning Circle
Python Programming Learning Circle
May 6, 2021 · Fundamentals

Understanding 23 Classic Design Patterns Through Everyday Analogies

This article explains twenty‑three classic software design patterns—including Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—using humorous real‑world scenarios to illustrate their intent and structure.

Design PatternsObject-OrientedSoftware Architecture
0 likes · 17 min read
Understanding 23 Classic Design Patterns Through Everyday Analogies
Intelligent Backend & Architecture
Intelligent Backend & Architecture
Apr 30, 2021 · Fundamentals

Mastering Java Design Patterns and SOLID Principles: A Practical Guide

This comprehensive tutorial explores the origins, concepts, classifications, and practical applications of software design patterns—including the classic 23 GoF patterns—and explains the seven SOLID principles with clear Java code examples, helping developers write more reusable, readable, and maintainable code.

Design PatternsJavaObject-Oriented
0 likes · 34 min read
Mastering Java Design Patterns and SOLID Principles: A Practical Guide
Liangxu Linux
Liangxu Linux
Apr 21, 2021 · Fundamentals

What Do Design Patterns Really Mean? A Playful Guide to 23 Patterns

The article humorously explains 23 classic software design patterns—ranging from creational to behavioral—using everyday dating scenarios to illustrate each pattern's intent, structure, and typical usage, making the concepts easy to grasp for developers.

BehavioralCreationalDesign Patterns
0 likes · 23 min read
What Do Design Patterns Really Mean? A Playful Guide to 23 Patterns
Architects' Tech Alliance
Architects' Tech Alliance
Apr 3, 2021 · Fundamentals

Understanding Software Architecture: History, Concepts, and Definitions

This article explores the evolution of software development from machine language to high‑level languages, explains the two software crises, and defines software architecture by distinguishing systems, subsystems, modules, components, and frameworks, emphasizing architecture as a top‑level structural solution for managing complexity.

ComponentObject-OrientedSoftware Architecture
0 likes · 11 min read
Understanding Software Architecture: History, Concepts, and Definitions
IT Architects Alliance
IT Architects Alliance
Mar 19, 2021 · Fundamentals

Overview of Common Software Design Patterns with Humorous Analogies

This article humorously illustrates twenty‑three classic software design patterns—including Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—using playful dating analogies to convey their intent and structure.

Object-Orientedpatterns
0 likes · 19 min read
Overview of Common Software Design Patterns with Humorous Analogies
Laravel Tech Community
Laravel Tech Community
Mar 17, 2021 · Fundamentals

A Humorous Guide to 23 Classic Design Patterns Illustrated with Dating Analogies

This article humorously explains 23 classic software design patterns—such as Factory Method, Builder, Abstract Factory, Prototype, Singleton, Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy, Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, and Visitor—using playful dating scenarios to illustrate each pattern’s intent, structure, and trade‑offs.

Object-OrientedSoftware Engineeringarchitecture
0 likes · 18 min read
A Humorous Guide to 23 Classic Design Patterns Illustrated with Dating Analogies
政采云技术
政采云技术
Mar 16, 2021 · Fundamentals

Understanding Programming Paradigms: Imperative, Declarative, Functional, and Object‑Oriented in JavaScript

This article explains core programming paradigms—imperative, declarative, functional, and object‑oriented—illustrating their concepts, differences, and practical JavaScript examples, while discussing features like first‑class functions, currying, composition, and OOP principles such as encapsulation, inheritance, and polymorphism.

CurryingDeclarativeImperative
0 likes · 14 min read
Understanding Programming Paradigms: Imperative, Declarative, Functional, and Object‑Oriented in JavaScript
php Courses
php Courses
Mar 12, 2021 · Backend Development

Understanding PHP Magic Methods: __construct, __destruct, __call, and More

This article explains the purpose, behavior, and typical usage of PHP's magic methods—including __construct, __destruct, __call, __callStatic, __get, __set, __isset, __unset, __sleep, __wakeup, __toString, __invoke, __set_state, __clone, __autoload, and __debugInfo—providing clear definitions, explanations, and code examples for each.

Object-OrientedPHP8Tutorial
0 likes · 7 min read
Understanding PHP Magic Methods: __construct, __destruct, __call, and More
Java Interview Crash Guide
Java Interview Crash Guide
Mar 10, 2021 · Fundamentals

Why Abstract Thinking Is the Secret Weapon for Better Code Design

This article explains how abstract thinking underpins software engineering, covering definitions, the relationship between language and abstraction, levels of abstraction, layered design, the pitfalls of duplicate code and forced casts, and practical ways to strengthen one’s abstract reasoning skills.

ModelingObject-Orientedabstraction
0 likes · 22 min read
Why Abstract Thinking Is the Secret Weapon for Better Code Design
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jan 14, 2021 · Fundamentals

Understanding the Decorator Pattern in Java: Core Roles and Practical Implementation

This article explains the Decorator design pattern in Java, detailing its four core participants—Component, ConcreteComponent, Decorator, and ConcreteDecorator—through UML diagrams and complete code examples, and also illustrates how Java’s InputStream hierarchy uses FilterInputStream as a real‑world decorator.

Decorator PatternDesign PatternsInputStream
0 likes · 5 min read
Understanding the Decorator Pattern in Java: Core Roles and Practical Implementation
Architect's Tech Stack
Architect's Tech Stack
Dec 21, 2020 · Fundamentals

Refactoring Principles, Code Smells, and Refactoring Techniques

This article explains the concept of refactoring, its motivations and timing, enumerates common code smells, and provides detailed refactoring techniques—including extracting methods, moving functions, encapsulating data, simplifying conditionals, and handling inheritance—to improve software design and maintainability.

Object-Orientedbest practicesclean code
0 likes · 21 min read
Refactoring Principles, Code Smells, and Refactoring Techniques
IT Architects Alliance
IT Architects Alliance
Nov 26, 2020 · Industry Insights

Why Did Software Architecture Emerge? A Journey Through Programming History

The article traces the evolution of software development—from early machine code and assembly, through high‑level languages, the first and second software crises, structured and object‑oriented programming, to the rise of software architecture in the 1990s—explaining the historical forces that shaped modern architectural design.

Object-OrientedSoftware ArchitectureSoftware Engineering
0 likes · 13 min read
Why Did Software Architecture Emerge? A Journey Through Programming History
Selected Java Interview Questions
Selected Java Interview Questions
Oct 28, 2020 · Fundamentals

Decorator Pattern in Java: Theory, Code Examples, and Practical Usage

This article explains the Decorator design pattern, compares a naïve inheritance approach with a proper decorator implementation in Java, provides complete code examples, class diagram, usage scenarios, advantages, and disadvantages, demonstrating how to dynamically extend object behavior without modifying existing code.

Decorator PatternDesign PatternsJava
0 likes · 10 min read
Decorator Pattern in Java: Theory, Code Examples, and Practical Usage
Programmer DD
Programmer DD
Sep 28, 2020 · Fundamentals

UML Relationship Cheat Sheet: From Dependency to Realization

This article explains the six core UML relationship types—Dependency, Association, Aggregation, Composition, Generalization, and Realization—detailing their semantics, visual notations, code representations in Java/C++, and practical distinctions such as lifecycle ownership and usage contexts.

Object-OrientedUMLaggregation
0 likes · 13 min read
UML Relationship Cheat Sheet: From Dependency to Realization
Architecture Digest
Architecture Digest
Sep 25, 2020 · Fundamentals

Refactoring Principles, Code Smells, and Refactoring Techniques

This article explains refactoring as a disciplined way to improve software structure without altering behavior, outlines common code smells, and presents a comprehensive set of refactoring techniques—including extracting functions, moving features, simplifying conditionals, and reorganizing data—illustrated with Java code examples.

Object-Orientedclean codecode smells
0 likes · 23 min read
Refactoring Principles, Code Smells, and Refactoring Techniques
Programmer DD
Programmer DD
Aug 27, 2020 · Fundamentals

UML: Dependency, Association, Aggregation, Composition, Generalization, Realization

This article explains the six fundamental UML relationship types—Dependency, Association, Aggregation, Composition, Generalization, and Realization—detailing their semantics, visual notations, code examples in Java/C++, and the distinctions among them, helping developers model object interactions accurately.

AssociationObject-OrientedUML
0 likes · 11 min read
UML: Dependency, Association, Aggregation, Composition, Generalization, Realization
Python Crawling & Data Mining
Python Crawling & Data Mining
Jul 3, 2020 · Fundamentals

Unlock Python’s Power: A Practical Guide to Magic Methods

This article introduces Python’s magic methods, explains their purposes and usage, provides a comprehensive table of common dunder methods, and demonstrates practical examples—including object creation, attribute handling, container behavior, and context management—to help developers master these powerful language features.

Code ExamplesObject-OrientedPython
0 likes · 14 min read
Unlock Python’s Power: A Practical Guide to Magic Methods
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 25, 2020 · Fundamentals

Understanding the Six SOLID Principles of Design Patterns

This article explains the six core SOLID principles—Single Responsibility, Interface Segregation, Dependency Inversion, Liskov Substitution, Law of Demeter, and Open/Closed—detailing their definitions, benefits, practical examples, and how they improve code reusability, readability, maintainability, and system extensibility.

Design PatternsObject-OrientedSOLID
0 likes · 8 min read
Understanding the Six SOLID Principles of Design Patterns
FunTester
FunTester
Jan 1, 2020 · Fundamentals

Why Learn Java and How to Get Started: A Comprehensive Guide

This article explains why Java remains a popular, easy-to-learn, and career‑boosting programming language, outlines its real‑world advantages, and provides a step‑by‑step roadmap with core concepts, tools, and practice tips for beginners.

JDKJavaLearning Guide
0 likes · 13 min read
Why Learn Java and How to Get Started: A Comprehensive Guide