Tagged articles
213 articles
Page 1 of 3
Lisa Notes
Lisa Notes
Mar 31, 2026 · Fundamentals

Java Objects from Scratch: A Step‑by‑Step Guide

This tutorial walks through the fundamentals of Java objects, covering declaration, instantiation, referencing, practical code examples—including a HelloTest class and a Point/Rectangle demo—and explains Java's automatic garbage collection and manual cleanup techniques.

ConstructorsGarbage CollectionOOP
0 likes · 10 min read
Java Objects from Scratch: A Step‑by‑Step Guide
php Courses
php Courses
Jan 23, 2026 · Backend Development

Master PHP Getters and Setters: Practical Examples and Best Practices

This article explains the purpose, usage, and advantages of PHP getters and setters, provides clear code examples for both, and demonstrates a combined implementation that validates and secures private properties, helping developers write more robust and maintainable code.

OOPPHPdata encapsulation
0 likes · 5 min read
Master PHP Getters and Setters: Practical Examples and Best Practices
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 25, 2025 · Fundamentals

Overloads vs Overrides in Java: When and How They Differ

This article explains the distinction between method overloading and method overriding in Java, covering their definitions, how the compiler or runtime selects the appropriate method, differences in method signatures, return types, and timing, and provides clear code examples for each concept.

Method OverloadingMethod OverridingOOP
0 likes · 5 min read
Overloads vs Overrides in Java: When and How They Differ
php Courses
php Courses
Dec 4, 2025 · Backend Development

From Procedural PHP to Modern Practices: Transform Your Development Mindset

This article examines how early PHP developers often wrote tangled, procedural code that mixes business logic with presentation, and outlines concrete steps—adopting OOP, design patterns, domain‑driven design, test‑driven development, and modern tooling—to shift toward a cleaner, more maintainable backend development approach.

Design PatternsDomain-Driven DesignOOP
0 likes · 7 min read
From Procedural PHP to Modern Practices: Transform Your Development Mindset
Deepin Linux
Deepin Linux
Sep 30, 2025 · Fundamentals

Mastering SOLID: Real-World Refactoring of Order Systems for Cleaner Code

This article explains the five SOLID principles—Single Responsibility, Open‑Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion—using an order‑processing system example, showing common violations, step‑by‑step refactorings, practical guidelines, and Java code snippets to improve code modularity, maintainability, and extensibility.

OOPSOLIDjava
0 likes · 32 min read
Mastering SOLID: Real-World Refactoring of Order Systems for Cleaner Code
php Courses
php Courses
Sep 26, 2025 · Backend Development

Master PHP OOP: 5 Best Practices to Write Clean, Maintainable Code

Learn essential PHP object‑oriented programming techniques, including grouping data and behavior into classes, using access modifiers, initializing objects with constructors, chaining methods, and applying the strategy pattern, to boost code readability, maintainability, and flexibility.

Design PatternsOOPPHP
0 likes · 4 min read
Master PHP OOP: 5 Best Practices to Write Clean, Maintainable Code
Deepin Linux
Deepin Linux
Sep 10, 2025 · Fundamentals

Unlocking C++ Polymorphism: How Virtual Tables Enable Runtime Flexibility

This article explains how C++ implements polymorphism through virtual functions and vtables, covering static and dynamic polymorphism, memory layout, multiple inheritance, practical code examples, design‑pattern applications, and the importance of virtual destructors for safe resource cleanup.

Design PatternsOOPPolymorphism
0 likes · 35 min read
Unlocking C++ Polymorphism: How Virtual Tables Enable Runtime Flexibility
Deepin Linux
Deepin Linux
Aug 26, 2025 · Fundamentals

Master C/C++ Interview Essentials: Key Concepts, Code Samples & Tips

This comprehensive guide compiles essential C/C++ interview questions covering language fundamentals, data structures, algorithms, memory management, OOP principles, templates, and common coding patterns, providing clear explanations, example code, and practical insights to help both fresh graduates and experienced developers confidently tackle technical interviews.

AlgorithmsData StructuresOOP
0 likes · 69 min read
Master C/C++ Interview Essentials: Key Concepts, Code Samples & Tips
php Courses
php Courses
Aug 19, 2025 · Fundamentals

Mastering Abstract Classes and Interfaces in C++: A Practical Guide

This article explains how C++ uses abstract classes and pure virtual functions to define interfaces, compares abstract classes with simulated interfaces, provides concrete code examples, and outlines common real‑world scenarios such as game objects, GUI widgets, and plugin systems.

Abstract ClassInterfaceOOP
0 likes · 5 min read
Mastering Abstract Classes and Interfaces in C++: A Practical Guide
php Courses
php Courses
Aug 14, 2025 · Fundamentals

Master C++ Access Modifiers: public, private, protected Explained with Real Code

This article thoroughly explains C++'s three access control modifiers—public, private, and protected—covering their definitions, differences, practical usage in classes, inheritance effects, friend functions, and best practices for encapsulation and maintainable OOP design.

Access ModifiersEncapsulationInheritance
0 likes · 6 min read
Master C++ Access Modifiers: public, private, protected Explained with Real Code
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
Deepin Linux
Deepin Linux
Jun 15, 2025 · Fundamentals

How C++ Polymorphism Cuts Tight Coupling and Boosts Code Reuse

This article explains C++ polymorphism, shows how virtual functions and inheritance break tight coupling, improve code reuse, simplify extensions, and enhance maintainability, and demonstrates its role in common design patterns such as Strategy and Factory Method with clear code examples.

Design PatternsOOPPolymorphism
0 likes · 20 min read
How C++ Polymorphism Cuts Tight Coupling and Boosts Code Reuse
php Courses
php Courses
May 14, 2025 · Backend Development

Why Static Methods Should Be Avoided in PHP and Better Alternatives

The article explains that overusing static methods in PHP violates core OOP principles, hampers testability, creates global state, and reduces extensibility, while outlining appropriate scenarios for static usage and recommending alternatives such as dependency injection, service containers, and cautious singleton patterns.

OOPPHPstatic methods
0 likes · 6 min read
Why Static Methods Should Be Avoided in PHP and Better Alternatives
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
php Courses
php Courses
Apr 30, 2025 · Backend Development

Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications

This article explains PHP's polymorphism—covering method overriding, simulated method overloading, interface polymorphism, traits, abstract classes, magic methods, and performance considerations—while providing clear code examples and discussing real‑world uses such as plugin systems, testing mocks, middleware, and strategy patterns.

Design PatternsInterfacesMethod Overriding
0 likes · 9 min read
Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications
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
Code Mala Tang
Code Mala Tang
Mar 25, 2025 · Fundamentals

Master Python Classes: From Basics to Advanced OOP Techniques

This comprehensive guide explains what Python classes are, why to create custom ones, and covers class design aspects such as methods, attributes, inheritance, data validation, static and class methods, read‑only properties, and practical code examples for each concept.

OOPPythonTutorial
0 likes · 17 min read
Master Python Classes: From Basics to Advanced OOP Techniques
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.

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

OOPPHPbackend-development
0 likes · 10 min read
Understanding PHP Classes: Concepts, Benefits, and Practical Examples
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
php Courses
php Courses
Jan 2, 2025 · Backend Development

Understanding Constructors and Destructors in PHP

This article explains the purpose, syntax, and practical examples of PHP constructors (__construct) and destructors (__destruct), demonstrating how they initialize objects, manage resources, and simplify code through automatic execution during object creation and destruction.

ConstructorOOPPHP
0 likes · 8 min read
Understanding Constructors and Destructors in PHP
php Courses
php Courses
Dec 6, 2024 · Backend Development

Best Practices for Object‑Oriented Programming in PHP

This article presents PHP object‑oriented programming best practices, covering class design, access modifiers, constructors, method chaining, and the Strategy pattern, each illustrated with clear code examples to improve readability, maintainability, and flexibility.

Design PatternsOOPPHP
0 likes · 5 min read
Best Practices for Object‑Oriented Programming in PHP
Test Development Learning Exchange
Test Development Learning Exchange
Dec 3, 2024 · Fundamentals

Python Programming Fundamentals

This tutorial covers Python's core programming concepts including variables, data types, control structures, functions, object-oriented programming, and file operations, providing a comprehensive foundation for beginners.

Data TypesOOPPython
0 likes · 16 min read
Python Programming Fundamentals
php Courses
php Courses
Nov 27, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Compatibility with OOP, Practical Example, and Advantages

Function Object Programming (FOP) in PHP treats functions as first‑class objects, fully compatible with object‑oriented programming, allowing closures and anonymous functions to be used as methods, illustrated by a practical example using array_map, and highlighting cross‑platform support and benefits such as reusability, extensibility, and cleaner code.

Code ReusabilityFunction ObjectsOOP
0 likes · 3 min read
Function Object Programming (FOP) in PHP: Compatibility with OOP, Practical Example, and Advantages
Test Development Learning Exchange
Test Development Learning Exchange
Nov 24, 2024 · Fundamentals

Common Python Magic Methods and Their Usage

This article introduces Python's most frequently used magic methods—including __new__, __init__, __str__, __add__, __len__, __getitem__, __setitem__, __delitem__, __contains__, __bool__, __iter__, comparison operators, arithmetic operators, and context manager methods—explaining their purpose, typical use cases, and providing clear code examples for each.

MagicMethodsOOPPython
0 likes · 11 min read
Common Python Magic Methods and Their Usage
php Courses
php Courses
Nov 20, 2024 · Backend Development

Handling Special Cases in PHP Function Object Programming (FOP)

This article explains how PHP's Function Object Programming treats functions as objects, detailing the behavior of $this, static methods, anonymous functions, and call_user_func, and provides code examples to avoid common pitfalls for developers.

OOPPHPcall_user_func
0 likes · 3 min read
Handling Special Cases in PHP Function Object Programming (FOP)
php Courses
php Courses
Nov 19, 2024 · Backend Development

18 Powerful PHP Features to Boost Development Efficiency and Code Quality

This article introduces eighteen advanced PHP features—including magic methods, generators, anonymous classes, attributes, fibers, null‑safe method chaining, dynamic property access, closures, traits, named arguments, first‑class callables, enums, type casting, reference returns, late static binding, opcode caching, preloading, and reflection—demonstrating how each can improve code quality, performance, and maintainability.

Advanced FeaturesGeneratorsOOP
0 likes · 8 min read
18 Powerful PHP Features to Boost Development Efficiency and Code Quality
php Courses
php Courses
Nov 15, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains the DRY principle in PHP and demonstrates how to create and apply closure functions for reusable code blocks, including examples with simple calculations, data processing callbacks, and integration with object‑oriented programming to improve flexibility and maintainability.

OOPPHPbackend-development
0 likes · 5 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
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
php Courses
php Courses
Nov 5, 2024 · Backend Development

Five Essential Rules for Writing Clean PHP Code

This article presents five fundamental guidelines—including clear naming, single‑responsibility functions, consistent style, SOLID principles, and self‑documenting code—along with PHP code examples to help developers produce more readable, maintainable, and extensible applications.

OOPPHPSOLID
0 likes · 4 min read
Five Essential Rules for Writing Clean PHP Code
Test Development Learning Exchange
Test Development Learning Exchange
Nov 3, 2024 · Fundamentals

Understanding Python Method Resolution Order (MRO)

This article explains Python's Method Resolution Order (MRO), detailing its basic principles, the C3 linearization algorithm, and how attribute and method lookup work in single, multiple, and complex inheritance scenarios, accompanied by illustrative code examples.

C3 LinearizationMROMethod Resolution Order
0 likes · 8 min read
Understanding Python Method Resolution Order (MRO)
php Courses
php Courses
Oct 25, 2024 · Backend Development

Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example

The article introduces PHP's Function Object Programming (FOP) paradigm, explains its full compatibility with object‑oriented programming, demonstrates a practical code example using closures and array_map, discusses cross‑platform support, and outlines the main advantages such as reusability, extensibility, and cleaner code.

OOPPHPbackend-development
0 likes · 4 min read
Function Object Programming (FOP) in PHP: Concepts, OOP Compatibility, and Practical Example
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
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 27, 2024 · Fundamentals

Understanding Class Variables and Instance Variables in Python

This article explains the differences between class variables and instance variables in object‑oriented programming, illustrates their characteristics with clear Python examples, and demonstrates advanced patterns such as counting instances, default values, constants, static data, configuration options, and polymorphic behavior.

Class VariablesOOPPython
0 likes · 11 min read
Understanding Class Variables and Instance Variables in Python
Test Development Learning Exchange
Test Development Learning Exchange
Sep 15, 2024 · Fundamentals

Understanding Instance, Class, and Static Methods in Python

This article explains Python's instance, class, and static methods, detailing their definitions, differences, and typical use cases, and provides clear code examples—including a simple MyClass demonstration and a comprehensive Date class illustration—to help developers understand and apply each method type effectively.

Class MethodOOPPython
0 likes · 6 min read
Understanding Instance, Class, and Static Methods in Python
php Courses
php Courses
Sep 13, 2024 · Backend Development

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

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

InheritanceOOPparent
0 likes · 7 min read
Understanding PHP Static Members: self::, parent::, and static::
Test Development Learning Exchange
Test Development Learning Exchange
Sep 10, 2024 · Fundamentals

Master Python Basics: Error Handling, Files, OOP, and More

This guide walks through essential Python concepts—including try/except error handling, file reading and writing, class definitions with inheritance, variable scopes, common built‑in functions, docstrings, comments, and command‑line argument processing—providing clear code examples for each topic.

DocstringsError HandlingFile I/O
0 likes · 8 min read
Master Python Basics: Error Handling, Files, OOP, and More
php Courses
php Courses
Jul 5, 2024 · Backend Development

Using Closure Functions to Encapsulate Reusable Code Blocks in PHP

This article explains how PHP closure functions can be used to encapsulate reusable code blocks, demonstrates practical examples including simple arithmetic, data processing with callbacks, and integration with object‑oriented programming to improve code maintainability and flexibility.

OOPPHPclosure
0 likes · 4 min read
Using Closure Functions to Encapsulate Reusable Code Blocks in PHP
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Apr 28, 2024 · Fundamentals

Master Java Fundamentals: OOP, Collections, Concurrency, and Design Patterns

This comprehensive guide covers Java's core concepts—including object‑oriented principles, differences from C++, polymorphism, static/final modifiers, abstract classes versus interfaces, generics, reflection, exception hierarchy, key data structures like ArrayList, LinkedList, HashMap, ConcurrentHashMap, serialization, String handling, and essential design patterns such as Singleton, Factory, and Abstract Factory—providing interview‑ready knowledge for developers.

Design PatternsGenericsOOP
0 likes · 19 min read
Master Java Fundamentals: OOP, Collections, Concurrency, and Design Patterns
Deepin Linux
Deepin Linux
Apr 10, 2024 · Fundamentals

C++ Interview Questions and Answers: Core Language Concepts and Best Practices

This comprehensive guide covers 40 common C++ interview topics, including procedural vs. object‑oriented programming, differences between C and C++, static and const keywords, pointer versus reference semantics, memory allocation with malloc/new, function overloading, inheritance, virtual functions, templates, smart pointers, and modern C++11 features, providing clear explanations and example code.

C++OOPinterview
0 likes · 47 min read
C++ Interview Questions and Answers: Core Language Concepts and Best Practices
php Courses
php Courses
Apr 3, 2024 · Fundamentals

Understanding Inheritance in Object-Oriented Programming with PHP

This article explains how inheritance in object‑oriented programming can simplify PHP code by refactoring duplicated product and book classes into a reusable base class, demonstrating improved code reuse, maintainability, and polymorphic behavior through clear examples and explanations.

OOPPHPcode-reuse
0 likes · 5 min read
Understanding Inheritance in Object-Oriented Programming with PHP
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Fundamentals

Boost Your Code Review: Standards, OOP, Design Patterns & Unit Testing

This article outlines how establishing clear review standards, leveraging object‑oriented principles and SOLID design rules, applying common design patterns, and requiring unit tests can transform code reviews from a perfunctory task into an effective quality‑boosting, knowledge‑sharing practice for development teams.

Code reviewOOPSoftware quality
0 likes · 6 min read
Boost Your Code Review: Standards, OOP, Design Patterns & Unit Testing
php Courses
php Courses
Mar 6, 2024 · Backend Development

Understanding Inheritance in PHP: A Practical OOP Tutorial

This article explains the core concept of inheritance in object‑oriented programming using PHP, illustrating how child classes extend parent classes, inherit properties and methods, avoid code duplication, and can override functionality, with complete code examples for workers and tax calculations.

OOPPHPbackend-development
0 likes · 13 min read
Understanding Inheritance in PHP: A Practical OOP Tutorial
Java Captain
Java Captain
Mar 1, 2024 · Fundamentals

Getting Started with Java: Fundamentals for Beginners

This article introduces Java’s origins, key characteristics, environment setup, basic syntax, object‑oriented concepts, exception handling, common libraries, and simple practice projects, providing beginners with a comprehensive foundation to start programming in Java.

Exception HandlingIDEOOP
0 likes · 5 min read
Getting Started with Java: Fundamentals for Beginners
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
macrozheng
macrozheng
Dec 24, 2023 · Fundamentals

Master Defensive Programming: Unconventional Naming Tricks & OOP Hacks

This article revisits defensive programming, explores quirky variable‑naming techniques—including single‑character, Chinese, and multilingual identifiers—and humorously breaks down core OOP concepts while stressing the developer’s irreplaceable role in modern software projects.

OOPdefensive programmingjava
0 likes · 7 min read
Master Defensive Programming: Unconventional Naming Tricks & OOP Hacks
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
php Courses
php Courses
Nov 6, 2023 · Backend Development

Understanding PHP Traits: Concepts, Usage, Advantages, and Best Practices

This article explains PHP Traits, covering their concept, definition, usage examples, advantages such as avoiding multiple inheritance and reducing code duplication, as well as important considerations like method conflicts and precedence, providing a comprehensive guide for backend developers.

OOPPHPTraits
0 likes · 5 min read
Understanding PHP Traits: Concepts, Usage, Advantages, and Best Practices
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 6, 2023 · Fundamentals

Fundamental OOP Concepts and Design Patterns in Java

This article explains core object‑oriented concepts such as encapsulation, abstraction, inheritance and polymorphism, then details common design principles and a wide range of design patterns—including factory, builder, bridge, singleton, strategy, adapter, and proxy—illustrated with complete Java code examples and usage guidelines.

AdapterDesign PatternsFactory
0 likes · 23 min read
Fundamental OOP Concepts and Design Patterns in Java
php Courses
php Courses
Sep 28, 2023 · Backend Development

Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices

Encapsulation, a core OOP principle, is explored in PHP with explanations of its benefits for data protection and modular code, followed by practical class examples—including a Person class and a BankAccount class—plus best‑practice recommendations for using access modifiers effectively.

Access ModifiersEncapsulationOOP
0 likes · 5 min read
Understanding Encapsulation in PHP: Benefits, Code Examples, and Best Practices
php Courses
php Courses
Aug 4, 2023 · Backend Development

Using PHP Traits for Effective Code Reuse

This article explains how PHP traits enable code reuse by allowing reusable method blocks to be incorporated into classes, covering trait definition, simple examples, method priority rules, conflict resolution with multiple traits, and trait composition for flexible functionality sharing.

OOPPHPTraits
0 likes · 5 min read
Using PHP Traits for Effective Code Reuse
php Courses
php Courses
Jun 29, 2023 · Backend Development

Understanding PHP Dispatch Mechanism and Method Overriding

This article explains PHP's dispatch mechanism, showing how the runtime selects the appropriate method based on an object's actual class, and demonstrates polymorphism through a simple Animal‑Dog‑Cat example with complete code and output explanations.

DispatchMethod OverridingOOP
0 likes · 3 min read
Understanding PHP Dispatch Mechanism and Method Overriding
Laravel Tech Community
Laravel Tech Community
Jun 20, 2023 · Backend Development

Understanding PHP Magic Methods: Constructors, Destructors, Call, CallStatic, Get, Set, Isset, Unset, Sleep and Wakeup

This article explains the purpose, declaration syntax, usage rules, and practical examples of PHP's magic methods—including __construct, __destruct, __call, __callStatic, __get, __set, __isset, __unset, __sleep, and __wakeup—providing clear code snippets and output demonstrations for each.

OOPPHPmagic methods
0 likes · 16 min read
Understanding PHP Magic Methods: Constructors, Destructors, Call, CallStatic, Get, Set, Isset, Unset, Sleep and Wakeup
Architects Research Society
Architects Research Society
Jun 16, 2023 · Fundamentals

Understanding SOLID Principles in TypeScript

This article explains the five SOLID design principles—Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion—using clear TypeScript examples to show how each principle improves code maintainability and extensibility.

OOPSOLIDTypeScript
0 likes · 11 min read
Understanding SOLID Principles in TypeScript
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