Tagged articles
136 articles
Page 2 of 2
Test Development Learning Exchange
Test Development Learning Exchange
Dec 27, 2019 · Fundamentals

Understanding Python's Special Methods __len__ and __getitem__ with Example Code

This article explains Python’s double‑underscore special methods such as __len__ and __getitem__, demonstrates their implementation in a FrenchDeck class with example code, shows how they enable built‑in functions like len() and indexing, and further illustrates additional dunder methods using a Vector class.

Object-OrientedSpecial Methodsdunder
0 likes · 4 min read
Understanding Python's Special Methods __len__ and __getitem__ with Example Code
Selected Java Interview Questions
Selected Java Interview Questions
Nov 24, 2019 · Fundamentals

Introduction to the Singleton Design Pattern

The Singleton pattern ensures a class has only one instance, providing a global point of access, and is explained with its definition, implementation steps, advantages, disadvantages, thread‑safety concerns, usage guidelines, and typical real‑world scenarios such as configuration management, logging, and resource pooling.

JavaObject-OrientedSingleton
0 likes · 9 min read
Introduction to the Singleton Design Pattern
JD Retail Technology
JD Retail Technology
Oct 16, 2019 · Fundamentals

Understanding Programming Paradigms: Object‑Oriented, Procedural, Functional, and Imperative

This article introduces programming paradigms—object‑oriented, procedural, functional, and imperative—explaining their definitions, underlying philosophies, and how each can be used to implement a simple calculator, while comparing their advantages and illustrating their conceptual relationships.

Object-OrientedProceduralProgramming Paradigms
0 likes · 7 min read
Understanding Programming Paradigms: Object‑Oriented, Procedural, Functional, and Imperative
Java Backend Technology
Java Backend Technology
Sep 14, 2019 · Fundamentals

Master Code Refactoring: Principles, Smells, and Practical Techniques

This article explains what refactoring is, why and when to apply it, lists common code smells with concrete examples, and provides step‑by‑step techniques for reorganizing functions, moving responsibilities, restructuring data, simplifying conditionals, and improving overall software design.

Object-Orientedclean codecode smells
0 likes · 27 min read
Master Code Refactoring: Principles, Smells, and Practical Techniques
Java Backend Technology
Java Backend Technology
Apr 28, 2019 · Fundamentals

Master 23 Essential Design Patterns Every Java Developer Should Know

This article provides concise explanations, real‑world usage tips, and visual illustrations for 23 classic design patterns—including structural, creational, and behavioral patterns—helping developers understand when and how to apply each pattern in everyday Java projects.

Object-OrientedSoftware Architectureprogramming fundamentals
0 likes · 14 min read
Master 23 Essential Design Patterns Every Java Developer Should Know
Big Data Technology & Architecture
Big Data Technology & Architecture
Mar 9, 2019 · Fundamentals

Introduction to Scala: A Beginner's Guide

This article provides a concise overview of Scala for beginners, covering its multi‑paradigm nature, object‑oriented and functional features, powerful static type system, extensibility mechanisms, and seamless Java interoperability, laying a foundation for later Spark learning.

Object-OrientedProgramming LanguageScala
0 likes · 4 min read
Introduction to Scala: A Beginner's Guide
Beike Product & Technology
Beike Product & Technology
Jan 17, 2019 · Fundamentals

Understanding the Six SOLID Design Principles: A Practical Guide for iOS Developers

This article explains the six SOLID design principles—Single Responsibility, Liskov Substitution, Dependency Inversion, Interface Segregation, Law of Demeter, and Open‑Closed—using iOS‑oriented examples, code snippets, and practical advice to help developers write cleaner, more maintainable software.

Object-OrientedSOLIDSoftware Architecture
0 likes · 15 min read
Understanding the Six SOLID Design Principles: A Practical Guide for iOS Developers
MaGe Linux Operations
MaGe Linux Operations
Oct 14, 2018 · Fundamentals

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

This comprehensive guide walks you through Python fundamentals, covering variable assignment, data types, conditional statements, loops, list and dictionary operations, as well as class definitions, object instantiation, encapsulation, and inheritance, all illustrated with clear code examples.

LoopsObject-OrientedPython
0 likes · 18 min read
Master Python Basics: Variables, Control Flow, Data Structures & OOP
Java Captain
Java Captain
Jun 23, 2018 · Fundamentals

Common Object‑Oriented Design Principles: SOLID, Dependency Inversion, Interface Segregation, Composite Reuse, and the Law of Demeter

This article summarizes the most widely used object‑oriented design principles—including the five SOLID rules, the Composite/Aggregate Reuse Principle, the Law of Demeter, and related guidelines—explaining their definitions, analyses, advantages, and practical examples for improving software modularity and maintainability.

Dependency InversionObject-OrientedSOLID
0 likes · 21 min read
Common Object‑Oriented Design Principles: SOLID, Dependency Inversion, Interface Segregation, Composite Reuse, and the Law of Demeter
Architecture Digest
Architecture Digest
Jun 12, 2018 · Fundamentals

Common Object-Oriented Design Principles and Their Significance

This article summarizes key object‑oriented design principles—including the SOLID rules, Dependency Inversion, Interface Segregation, Composite/Aggregate Reuse, and Law of Demeter—explaining their definitions, analyses, advantages, and practical examples such as Spring MVC component separation and Java code illustrations.

JavaObject-OrientedSOLID
0 likes · 19 min read
Common Object-Oriented Design Principles and Their Significance
ITFLY8 Architecture Home
ITFLY8 Architecture Home
May 30, 2018 · Fundamentals

Mastering UML: Key Diagrams, Relationships, and OO Concepts

This guide explains UML's core relationship notations, the nine essential diagram types and their purposes, detailed insights into class, object, use‑case, sequence, collaboration, state, activity, component, and deployment diagrams, and how they map to fundamental object‑oriented concepts such as boundary, entity, and control classes.

Object-OrientedSoftware ModelingUML
0 likes · 14 min read
Mastering UML: Key Diagrams, Relationships, and OO Concepts
Java Captain
Java Captain
Apr 12, 2018 · Fundamentals

Java Constructors, Initialization, and Method Overloading Explained

This article explains how Java objects are initialized using explicit values, default values, and constructors, describes the characteristics and purpose of constructors, demonstrates their syntax with code examples, and introduces method overloading with practical illustrations.

ConstructorInitializationJava
0 likes · 7 min read
Java Constructors, Initialization, and Method Overloading Explained
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2018 · Fundamentals

Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior

This article explains Python’s magic methods—special double‑underscore functions like __init__, __new__, __getattr__, and __call__—showing how they control object construction, attribute access, custom containers, callability, context management, descriptors, and copying, with clear code examples for each feature.

CallableObject-Orientedcontext-manager
0 likes · 15 min read
Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior
MaGe Linux Operations
MaGe Linux Operations
Mar 7, 2018 · Fundamentals

Top 10 Python Interview Questions Every Developer Should Master

This article compiles ten frequently asked Python interview questions, covering class inheritance, special methods like __call__, object creation with __new__, list and dictionary comprehensions, variable scope, swapping variables, default method handling via __getattr__, package exports, closures, and string concatenation performance, each illustrated with code examples and concise explanations.

Code ExamplesObject-Orientedfunctions
0 likes · 8 min read
Top 10 Python Interview Questions Every Developer Should Master
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Feb 5, 2018 · Fundamentals

How to Eliminate 22 Common Code Smells with Refactoring Techniques

This article enumerates twenty‑two typical code smells—from duplicated code and long methods to speculative generality—and provides concrete refactoring tactics such as Extract Method, Pull Up Method, Introduce Parameter Object, and Move Method to improve design, readability, and maintainability of object‑oriented software.

Object-Orientedclean codecode smells
0 likes · 24 min read
How to Eliminate 22 Common Code Smells with Refactoring Techniques
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jan 24, 2018 · Fundamentals

Master SOLID and Beyond: Key Design Principles for Stable Software

This article explains the six core SOLID principles, introduces additional design guidelines such as composition, acyclic dependencies, and Hollywood principle, and lists other essential software design rules like DRY, KISS, high cohesion, and separation of concerns to help developers build robust, maintainable systems.

Object-OrientedSOLIDSoftware Architecture
0 likes · 10 min read
Master SOLID and Beyond: Key Design Principles for Stable Software
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 26, 2017 · Fundamentals

Master Design Patterns in One Sentence: Quick Insights for Beginners and Pros

This article presents concise, one‑sentence summaries of common design patterns—Simple Factory, Factory Method, Abstract Factory, Builder, Prototype, Singleton, Adapter, Bridge, Composite, Facade, Flyweight, Decorator, and Proxy—offering quick insights for beginners to form an initial impression and for experienced developers to refresh their knowledge.

Design PatternsObject-OrientedSoftware Architecture
0 likes · 7 min read
Master Design Patterns in One Sentence: Quick Insights for Beginners and Pros
Java Captain
Java Captain
Jul 23, 2017 · Fundamentals

30 Essential Java Coding Practices for Writing Clean and Maintainable Code

This article presents thirty practical Java coding guidelines covering naming conventions, class design, method granularity, encapsulation, documentation, error handling, and performance considerations to help developers produce clean, robust, and maintainable software.

Object-Orientedbest practicescoding standards
0 likes · 14 min read
30 Essential Java Coding Practices for Writing Clean and Maintainable Code
Hujiang Technology
Hujiang Technology
Jun 9, 2017 · Mobile Development

Getting Started with Kotlin: Installation, Hello World, and Basic Syntax

This tutorial introduces Kotlin, explains its advantages over Java, guides you through setting up IntelliJ IDEA or Android Studio with the Kotlin plugin, and walks you through creating and running both a simple Hello Kotlin program and an object‑oriented example, while covering coding style recommendations.

AndroidHello WorldIntelliJ IDEA
0 likes · 9 min read
Getting Started with Kotlin: Installation, Hello World, and Basic Syntax
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
May 16, 2017 · Frontend Development

Master Drag-and-Drop in JavaScript: Three Ways to Build a Reusable Drag Object

This article walks you through three approaches to implement drag-and-drop in JavaScript—plain code, a native object wrapper, and a jQuery extension—covering essential concepts like transform compatibility, event handling, position calculations, and object-oriented encapsulation, with detailed code examples and visual diagrams.

DOMDrag-and-DropObject-Oriented
0 likes · 12 min read
Master Drag-and-Drop in JavaScript: Three Ways to Build a Reusable Drag Object
Meituan Technology Team
Meituan Technology Team
Jan 19, 2017 · Fundamentals

Clean Code Practices for Object‑Oriented Development

Clean code for object‑oriented development means writing readable, self‑describing, maintainable software by applying principles such as single responsibility, clear naming, small methods, composition over inheritance, regular code reviews, refactoring, static analysis, and learning from open‑source, ensuring simplicity and collaborative excellence.

Code reviewDesign PatternsJava
0 likes · 20 min read
Clean Code Practices for Object‑Oriented Development
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Oct 21, 2016 · Backend Development

From C to Java: Essential Steps for a Smooth Transition

This guide walks C programmers through transitioning to Java, covering why Java is approachable, essential tools, coding standards, exception handling, core SDK libraries, object‑oriented fundamentals, and advanced topics like Effective Java, SOLID principles, design patterns, and functional programming with Java 8.

C programmingJavaJava 8
0 likes · 7 min read
From C to Java: Essential Steps for a Smooth Transition
Qunar Tech Salon
Qunar Tech Salon
May 26, 2016 · Fundamentals

Understanding Python Metaclasses: Objects, Types, and Custom Class Creation

This article explains Python’s object model, showing that everything—including classes—is an object, describing how the built‑in type function serves as a metaclass, and demonstrating custom metaclass creation and practical examples such as subclass tracking and final class enforcement.

MetaclassObject-OrientedPython
0 likes · 6 min read
Understanding Python Metaclasses: Objects, Types, and Custom Class Creation
21CTO
21CTO
May 8, 2016 · Backend Development

Mastering PHP Traits: Reuse Code Efficiently with Real-World Examples

This article explains PHP Traits—introduced in PHP 5.4—as a fine‑grained code‑reuse mechanism, illustrates their definition, shows practical examples of extracting reusable methods into traits, compares trait usage with inheritance, and offers tips for effective trait design.

Backend DevelopmentObject-OrientedPHP
0 likes · 7 min read
Mastering PHP Traits: Reuse Code Efficiently with Real-World Examples
21CTO
21CTO
Apr 1, 2016 · Fundamentals

Master Design Patterns: Principles and All 3 Types Explained

This article provides a comprehensive overview of software design principles and the three major categories of design patterns—creational, structural, and behavioral—detailing each principle, pattern, its participants, and practical implications for building flexible, maintainable systems.

Behavioral PatternsCreational PatternsDesign Patterns
0 likes · 34 min read
Master Design Patterns: Principles and All 3 Types Explained
Qunar Tech Salon
Qunar Tech Salon
Feb 25, 2015 · Fundamentals

Understanding the Core Challenges of Programming: Abstraction, Indirection, and Architectural Practices

Programming is inherently complex, requiring deep business understanding, systematic abstraction, indirection, early architectural planning, layered design, and cultivated intuition to produce clean, maintainable code that adapts to evolving requirements and reduces technical debt.

Design PatternsObject-OrientedSoftware Architecture
0 likes · 6 min read
Understanding the Core Challenges of Programming: Abstraction, Indirection, and Architectural Practices
Qunar Tech Salon
Qunar Tech Salon
Dec 10, 2014 · Fundamentals

Why Immutable Objects Matter in Java and Object‑Oriented Design

The article explains the concept of immutable objects in object‑oriented programming, uses Java’s String and Date classes as examples, lists benefits such as thread safety, reduced coupling and side‑effects, and discusses counter‑arguments and practical considerations for adopting immutability.

DesignJavaObject-Oriented
0 likes · 8 min read
Why Immutable Objects Matter in Java and Object‑Oriented Design
Qunar Tech Salon
Qunar Tech Salon
Nov 19, 2014 · Fundamentals

Characteristics of Good Interfaces and Core Design Principles

The article outlines the essential traits of high‑quality interfaces, describes a step‑by‑step process for designing and implementing them, and presents fundamental principles for interface, class, and method design to ensure usability, maintainability, and robustness in software development.

Interface DesignObject-OrientedSoftware Architecture
0 likes · 4 min read
Characteristics of Good Interfaces and Core Design Principles