Tagged articles

design patterns

880 articles · Page 1 of 9
AI Architecture Hub
AI Architecture Hub
Jul 3, 2026 · Artificial Intelligence

20 Loop Design Patterns Every AI Engineer Must Master

This article catalogs twenty high‑frequency loop architectures that transform single‑call AI models into autonomous, self‑optimising agents, explaining each pattern’s purpose, workflow, concrete code example, and typical commercial scenarios such as content creation, compliance review, and strategic decision making.

AI loopsAutonomous AgentsPrompt Engineering
0 likes · 21 min read
20 Loop Design Patterns Every AI Engineer Must Master
TonyBai
TonyBai
Jul 3, 2026 · Artificial Intelligence

20 Loop Design Patterns Every AI Engineer Should Know

The article presents twenty essential loop design patterns for industrial AI systems, explains how they differ from single‑call prompts, provides concrete examples, code snippets, and use‑case scenarios, and shows how these loops enable self‑improvement, memory, planning, exploration, and system optimization for AI agents.

AIAgentLoop Engineering
0 likes · 23 min read
20 Loop Design Patterns Every AI Engineer Should Know
We-Design
We-Design
Jun 25, 2026 · User Experience Design

How to Balance AI Presence Using User Intent

The article examines how to regulate AI's visibility in products by applying a tiered interaction model, defining clear boundaries, and dynamically adjusting response intensity based on user intent and confidence, illustrated with real‑world examples such as Microsoft’s Clippy and data‑dashboard scenarios.

AI interactionJTBDconfidence scoring
0 likes · 8 min read
How to Balance AI Presence Using User Intent
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jun 16, 2026 · Backend Development

Stop Overusing ‘new’: Four Design Patterns That Separate Junior from Senior Developers

The article explains why indiscriminate use of the Java new operator leads to duplicated configuration, hidden complexity, and performance problems, and demonstrates how Factory, Builder, Object‑Pool, and Prototype patterns—illustrated with Spring Boot 3.5.0 code—provide clean, maintainable alternatives that distinguish junior from senior developers.

Builder PatternFactory PatternJava
0 likes · 19 min read
Stop Overusing ‘new’: Four Design Patterns That Separate Junior from Senior Developers
Frontend AI Walk
Frontend AI Walk
Jun 11, 2026 · Artificial Intelligence

Do AI Skills Have a Methodology? From Scientific Foundations to Design Patterns

The article argues that building AI Agent Skills follows a nascent methodology built on three scientific principles—In‑Context Learning, attention distribution, and bounded rationality—organized into three methodological streams (design‑driven, engineering‑driven, auto‑optimization) and distilled into six reusable design patterns, with a roadmap for future evolution.

AI AgentAutomationBounded Rationality
0 likes · 13 min read
Do AI Skills Have a Methodology? From Scientific Foundations to Design Patterns
Golang Shines
Golang Shines
Jun 9, 2026 · Artificial Intelligence

Essential AI Agent Design Patterns and Frameworks Every Ops Engineer Should Know

The article explains seven AI agent design patterns—workflow, routing, parallel, loop, aggregation, network, and hierarchy—illustrates their use with concrete examples and code, compares agent frameworks such as AutoGPT, Dify, AutoGen, CrewAI and LangGraph, and shows why multi‑agent architectures outperform traditional workflows in complex operational tasks.

AI AgentLLMOperations
0 likes · 12 min read
Essential AI Agent Design Patterns and Frameworks Every Ops Engineer Should Know
Data STUDIO
Data STUDIO
Jun 5, 2026 · Artificial Intelligence

12 Reusable Agentic Harness Patterns: When to Use and Avoid Over‑Design

The article breaks down twelve reusable Agentic Harness design patterns extracted from Claude Code, grouping them into memory, workflow, tool‑permission, and automation categories, explains the architectural pain points each solves, shows when to apply or over‑engineer them, and provides concrete Python implementations.

Agentic HarnessAutomation HooksMemory Management
0 likes · 21 min read
12 Reusable Agentic Harness Patterns: When to Use and Avoid Over‑Design
ZhiKe AI
ZhiKe AI
Jun 1, 2026 · Backend Development

Balancing Software Architecture Choices in Real Projects

The article explains that software architecture is fundamentally about trade‑offs, categorises major architecture families such as DDD, Clean/Hexagonal/Onion, Microservices vs SOA, CQRS/Event Sourcing, MVC, PACELC, BASE, FLP, Repository and 12‑Factor principles, and shows how each addresses specific constraints to help engineers pick the most suitable design for their context.

CAPClean ArchitectureDomain-Driven Design
0 likes · 12 min read
Balancing Software Architecture Choices in Real Projects
ZhiKe AI
ZhiKe AI
May 31, 2026 · Fundamentals

Do You Really Understand SOLID Design Principles?

This article expands the SOLID principles into a three‑layer framework—class, pattern, and component levels—clarifying common misinterpretations, presenting correct definitions with concrete examples, and showing how GRASP and design patterns operationalize these principles for stable, low‑coupling software.

GRASPObject-Oriented DesignSOLID
0 likes · 14 min read
Do You Really Understand SOLID Design Principles?
ZhiKe AI
ZhiKe AI
May 28, 2026 · Artificial Intelligence

Why Your LLM Skill Gets Ignored and 5 Proven Design Patterns to Make Agents Work

Even after spending hours crafting a Skill, many LLM agents ignore it, leading to failed automation; this article analyzes why and presents five validated design patterns—linear flow, decision tree with lazy loading, iterative loops, baton passing, and multi‑stage checkpoints—plus concrete examples and a minimal Skill template to ensure reliable, production‑grade agent behavior.

AgentAutomationLLM
0 likes · 12 min read
Why Your LLM Skill Gets Ignored and 5 Proven Design Patterns to Make Agents Work
DeepHub IMBA
DeepHub IMBA
May 26, 2026 · Artificial Intelligence

Agentic AI Design Patterns: Pros, Cons, and Use Cases of Six Architectures

The article breaks down six common agentic AI design patterns—Single Agent, Sequential Agents, Parallel Agents, Loop & Critic, Coordinator & Sub‑agents, and Sub‑Agents as Tools—detailing their implementation structures, strengths, weaknesses, and ideal application scenarios, helping practitioners choose the right architecture for scalable LLM workflows.

AI ArchitectureAgentic AILLM orchestration
0 likes · 9 min read
Agentic AI Design Patterns: Pros, Cons, and Use Cases of Six Architectures
Linyb Geek Road
Linyb Geek Road
May 19, 2026 · Artificial Intelligence

Five Best Design Patterns for AI Agent Skills

This article explains five practical design patterns—tool wrapper, generator, reviewer, inversion, and pipeline—for structuring AI agent SKILL.md files, showing when to use each, how they work internally, and how they can be combined for robust, maintainable agent behavior.

AI AgentsLLMPrompt Engineering
0 likes · 19 min read
Five Best Design Patterns for AI Agent Skills
IT Services Circle
IT Services Circle
May 14, 2026 · Fundamentals

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

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

AI code generationGang of FourObject-Oriented Programming
0 likes · 12 min read
Design Patterns: Born in 1994, Died in 2034 – A 40‑Year Saga
Linyb Geek Road
Linyb Geek Road
May 11, 2026 · Artificial Intelligence

14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices

The article distills Anthropic’s official skill‑authoring guide into fourteen reusable design patterns—grouped into discovery, context economy, instruction calibration, workflow control, and executable code—detailing their purpose, concrete examples, applicability, and trade‑offs for building effective Claude Agent Skills.

AI AgentAgent SkillsAnthropic
0 likes · 17 min read
14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices
LuTiao Programming
LuTiao Programming
May 8, 2026 · Fundamentals

Why Knowing Hundreds of Design Patterns Still Breaks Your Code—and How an Engineering Decision Method Helps

Many developers learn dozens of design patterns but still end up with fragile, hard‑to‑maintain code; the article explains that the real key is to identify system problems first and apply a disciplined engineering decision method, illustrated with concrete Factory, Builder, Strategy, Template, Decorator, Adapter, Observer and Mediator examples.

Builder PatternFactory PatternStrategy Pattern
0 likes · 16 min read
Why Knowing Hundreds of Design Patterns Still Breaks Your Code—and How an Engineering Decision Method Helps
Tech Minimalism
Tech Minimalism
May 7, 2026 · Artificial Intelligence

12 Reusable MCP Design Patterns for Production‑Grade Anthropic Agents

The article distills Anthropic’s production‑agent guidance into five groups of twelve concrete MCP patterns—covering tool surface design, interaction semantics, authentication, context economy, and packaging—explaining why each pattern matters, its trade‑offs, and how it helps build safe, stable, low‑cost agent integrations.

AIAgent EngineeringAnthropic
0 likes · 22 min read
12 Reusable MCP Design Patterns for Production‑Grade Anthropic Agents
AI Architecture Hub
AI Architecture Hub
May 6, 2026 · Artificial Intelligence

Google’s Five Core Agent Skill Design Patterns: Elevating Agent Skills to a New Design Paradigm

The article explains how, after format standardization removed the bottleneck for enterprise AI agents, the real challenge shifted to internal logic design, and presents five reusable Agent Skill design patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—complete with code samples, typical use cases, and best‑practice guidelines for combining and selecting them.

AI AgentsAgent SkillFastAPI
0 likes · 18 min read
Google’s Five Core Agent Skill Design Patterns: Elevating Agent Skills to a New Design Paradigm
Architect
Architect
May 5, 2026 · Artificial Intelligence

From Anthropic to Google: Agent Skills Enter the Design‑Pattern Era

Google Cloud Tech’s recent article outlines five Agent Skill design patterns, building on Anthropic’s earlier work that standardized Skill format and loading, and shows how the community is shifting from merely defining Skill syntax to engineering robust, reusable workflow structures for AI agents.

AI EngineeringAgent SkillsPrompt Engineering
0 likes · 25 min read
From Anthropic to Google: Agent Skills Enter the Design‑Pattern Era
Linyb Geek Road
Linyb Geek Road
Apr 24, 2026 · Artificial Intelligence

14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices

The article distills Anthropic’s official skill‑authoring guidance into fourteen reusable design patterns—grouped into discovery & selection, context economy, instruction calibration, workflow control, and executable code—explaining their purpose, trade‑offs, and practical examples for building effective Claude Agent Skills.

AI AgentAgent SkillsAnthropic
0 likes · 19 min read
14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices
LuTiao Programming
LuTiao Programming
Apr 22, 2026 · Fundamentals

Stop Memorizing Design Patterns: Modern Strategy Pattern with Java 21+ Sealed Interfaces and Pattern Matching

The article critiques the classic interface‑plus‑N‑implementations Strategy Pattern for causing class explosion, then demonstrates how Java 17’s sealed interfaces and records together with Java 21’s pattern‑matching switch provide a more concise, type‑safe, and maintainable modern implementation.

JavaJava 21Pattern Matching
0 likes · 7 min read
Stop Memorizing Design Patterns: Modern Strategy Pattern with Java 21+ Sealed Interfaces and Pattern Matching
Top Architect
Top Architect
Apr 22, 2026 · Backend Development

Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns

Learn how to replace tangled if‑else login code with a clean, extensible architecture using Spring Boot, combining the Factory pattern to instantiate strategy beans and the Strategy pattern to encapsulate each login method (password, WeChat, SMS, etc.), enabling easy addition of new authentication types.

Factory PatternJavaSpring Boot
0 likes · 14 min read
Unify Multi-Channel Login with Spring Boot Factory & Strategy Patterns
Tech Minimalism
Tech Minimalism
Apr 22, 2026 · Artificial Intelligence

14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices

Anthropic’s official skill authoring guide outlines fourteen reusable design patterns for Agent Skills—grouped into discovery & selection, context economy, instruction calibration, workflow control, and executable code—each with concrete examples, trade‑offs, and practical tips to help developers craft effective, token‑efficient Claude extensions.

AIAgent SkillsAnthropic
0 likes · 21 min read
14 Reusable Agent Skill Design Patterns from Anthropic’s Official Best Practices
FunTester
FunTester
Apr 21, 2026 · Fundamentals

What Real-World Code Changes Teach About Low‑Level Design

The author recounts how maintaining and evolving a long‑lived production system exposed hidden costs of poor low‑level design, leading to a shift from pattern‑first thinking to change‑driven analysis, small incremental refactorings, and ultimately a calmer, more maintainable codebase.

code maintainabilitydesign patternslow-level design
0 likes · 16 min read
What Real-World Code Changes Teach About Low‑Level Design
DeepHub IMBA
DeepHub IMBA
Apr 21, 2026 · Artificial Intelligence

Designing Persistent Memory for Production AI Agents: A Five‑Stage Pipeline and Four Design Patterns

Production AI agents require persistent memory to maintain continuity, learn from interactions, and recover from failures, but naïvely stuffing full conversation history into the LLM context incurs prohibitive latency and cost; this article outlines four memory types, a five‑stage pipeline, four design patterns, and practical metrics for building efficient, auditable memory systems.

AI AgentsKnowledge GraphLLM
0 likes · 27 min read
Designing Persistent Memory for Production AI Agents: A Five‑Stage Pipeline and Four Design Patterns
Data STUDIO
Data STUDIO
Apr 21, 2026 · Backend Development

Build Once, Reuse Anywhere: Generic Repository Pattern in Python

The article demonstrates how to eliminate repetitive CRUD code in FastAPI projects by creating a type‑safe, generic repository using Python generics and SQLAlchemy, showing a concrete abstract base class, concrete implementations, custom filters, error handling, and real‑world metrics that cut repository code from hundreds to a few dozen lines.

CRUDFastAPIGeneric Repository
0 likes · 13 min read
Build Once, Reuse Anywhere: Generic Repository Pattern in Python
Machine Learning Algorithms & Natural Language Processing
Machine Learning Algorithms & Natural Language Processing
Apr 14, 2026 · Artificial Intelligence

Why Harness Is the Strategic Asset for AI Agents in 2026

The article analyzes the 2026 turning point where AI model intelligence plateaued and argues that mastering Harness—an infrastructure that wraps models—has become the decisive factor for building controllable, scalable Agent systems, tracing its necessity through three decades of software engineering evolution.

AI AgentsClaude CodeDeepMind
0 likes · 20 min read
Why Harness Is the Strategic Asset for AI Agents in 2026
Code Ape Tech Column
Code Ape Tech Column
Apr 14, 2026 · Artificial Intelligence

6 Essential AI Agent Design Patterns Every Developer Should Master

This article explores six practical AI Agent design patterns—ReAct, Tool Use, Reflection, Planning, Multi‑Agent, and Human‑in‑the‑Loop—detailing their principles, Java Spring AI implementations, advantages, drawbacks, and suitable scenarios, and provides guidance on selecting and combining them for robust AI applications.

AIAgentJava
0 likes · 19 min read
6 Essential AI Agent Design Patterns Every Developer Should Master
Top Architect
Top Architect
Apr 10, 2026 · Backend Development

Essential Microservice Design Patterns Every Architect Should Know

This article provides a comprehensive overview of microservice architecture, outlining its core goals, design principles, and a wide range of decomposition, integration, database, event‑driven, observability, and cross‑cutting concern patterns, complete with practical examples and diagrams.

Microservicesbackend-architecturedesign patterns
0 likes · 22 min read
Essential Microservice Design Patterns Every Architect Should Know
Top Architect
Top Architect
Apr 7, 2026 · Backend Development

Why Over‑Design Breaks Your Code and How a Flow Engine Restores Simplicity

The article explains how excessive if‑else branching in backend services leads to fragile code, introduces a workflow engine and plugin extension mechanism to isolate business logic, shows concrete configuration and execution steps using the open‑source MemberClub project, and provides the full Java implementation of the FlowChain executor.

Backend DevelopmentWorkflow Enginedesign patterns
0 likes · 11 min read
Why Over‑Design Breaks Your Code and How a Flow Engine Restores Simplicity
Top Architect
Top Architect
Apr 5, 2026 · Backend Development

Designing a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL

This article explains the design, principles, components, database schema, configuration, and usage of a generic asynchronous processing SDK that leverages Spring AOP, transactional events, Kafka, and a Vue UI to achieve reliable async execution and eventual consistency in Java backend systems.

AsynchronousSpringdesign patterns
0 likes · 11 min read
Designing a Robust Asynchronous Processing SDK with Spring, Kafka and MySQL
Shuge Unlimited
Shuge Unlimited
Mar 31, 2026 · Artificial Intelligence

5 Agent Design Patterns Uncovered in Claude Code Source Leak

The article dissects the accidental public release of Anthropic's Claude Code TypeScript source, revealing five concrete AI agent design patterns—including prompt‑cache segmentation, a coordinator‑fork architecture, a four‑layer permission model, file‑system memory, and on‑demand tool loading—while also detailing the underlying tech stack, source‑map exposure, and quirky easter eggs.

AI AgentClaude CodeCoordinator
0 likes · 17 min read
5 Agent Design Patterns Uncovered in Claude Code Source Leak
Top Architect
Top Architect
Mar 30, 2026 · Databases

How MyBatis Uses Over 10 Design Patterns to Simplify ORM Architecture

The article analyzes MyBatis’s 20,000‑line source code, showing how it applies more than ten classic design patterns—such as Factory, Singleton, Builder, Adapter, Proxy, Composite, Decorator, Template, Strategy, and Iterator—to decouple complex ORM scenarios, improve extensibility, and illustrate practical implementation details.

JavaMyBatisORM
0 likes · 12 min read
How MyBatis Uses Over 10 Design Patterns to Simplify ORM Architecture
Java One
Java One
Mar 28, 2026 · Artificial Intelligence

Five Core Design Patterns for Building Robust AI Agents with Google ADK

This guide translates Google Cloud Tech's Agent Skills design patterns, detailing five reusable architecture patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—that help developers create modular, maintainable, and composable AI agents using the Agent Development Kit (ADK).

AI AgentGoogle ADKInversion
0 likes · 16 min read
Five Core Design Patterns for Building Robust AI Agents with Google ADK
Golang Shines
Golang Shines
Mar 26, 2026 · Artificial Intelligence

Essential AI Agent Design Patterns and Frameworks for Operations: Do You Know Them?

The article explains seven multi‑agent design patterns—workflow, routing, parallel, loop, aggregation, network, and hierarchy—detailing their mechanisms, use‑cases, and trade‑offs, then surveys popular agent frameworks (AutoGPT, Dify, AutoGen, CrewAI, LangGraph) and why they are needed for complex, dynamic decision‑making tasks.

AI AgentParallelReflection
0 likes · 12 min read
Essential AI Agent Design Patterns and Frameworks for Operations: Do You Know Them?
java1234
java1234
Mar 24, 2026 · Backend Development

Key Design Patterns Used in the Spring Framework

This article explains how Spring employs five core design patterns—Factory, Singleton, Proxy, Observer, and Template Method—detailing their roles, code examples, and how they contribute to Spring's modular, extensible architecture.

Factory PatternObserverSingleton
0 likes · 8 min read
Key Design Patterns Used in the Spring Framework
IT Services Circle
IT Services Circle
Mar 22, 2026 · Fundamentals

Bridging Incompatible C++ Logging Interfaces with the Adapter Pattern

This article explains how to use class and object adapters in C++ to reconcile mismatched logging interfaces, allowing seamless integration of third‑party loggers without modifying existing system code, and demonstrates the transition from inheritance‑based adapters to composition‑based adapters for greater flexibility.

Adapter PatternC++Class Adapter
0 likes · 8 min read
Bridging Incompatible C++ Logging Interfaces with the Adapter Pattern
Java Tech Enthusiast
Java Tech Enthusiast
Mar 22, 2026 · Backend Development

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

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

Adapter PatternC++Logging
0 likes · 9 min read
How to Bridge Incompatible C++ Logging Interfaces with Adapter Patterns
ShiZhen AI
ShiZhen AI
Mar 22, 2026 · Artificial Intelligence

5 Google-Defined Agent Skill Design Patterns: From Tool Wrapper to Pipeline

Google's ADK team outlines five recurring Agent Skill design patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—each solving a concrete pain point, with advantages, suitable scenarios, and ready‑to‑use YAML prompt examples for building more effective AI agents.

AI AgentAgent SkillGoogle ADK
0 likes · 17 min read
5 Google-Defined Agent Skill Design Patterns: From Tool Wrapper to Pipeline
SuanNi
SuanNi
Mar 19, 2026 · Artificial Intelligence

5 Proven Design Patterns for Building Smarter Google AI Agents

Google's engineers distilled five recurring design patterns for Agent Skills—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—providing concrete guidance, example implementations, and visual decision trees to help developers craft more reliable and context‑aware AI agents.

AI AgentsAgent Development KitGoogle
0 likes · 9 min read
5 Proven Design Patterns for Building Smarter Google AI Agents
Wuming AI
Wuming AI
Mar 18, 2026 · Artificial Intelligence

5 Proven Design Patterns to Supercharge Your AI Agent Skills

This article dissects five practical design patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—explaining when each solves a specific problem, showing concrete SKILL.md examples, step‑by‑step instructions, and a GitHub optimizer tool that automatically refines your agent skills.

AI AgentsPrompt Engineeringdesign patterns
0 likes · 13 min read
5 Proven Design Patterns to Supercharge Your AI Agent Skills
AI Engineering
AI Engineering
Mar 18, 2026 · Artificial Intelligence

5 Proven Agent Skill Design Patterns Google Shares After Anthropic

Google Cloud’s new guide outlines five validated Agent Skill design patterns—Tool Wrapper, Generator, Reviewer, Inversion, and Pipeline—explaining their structures, use‑cases, and how combining them can produce reliable, token‑efficient workflows for AI agents.

AIAgent SkillsGoogle Cloud
0 likes · 7 min read
5 Proven Agent Skill Design Patterns Google Shares After Anthropic
LuTiao Programming
LuTiao Programming
Mar 13, 2026 · Backend Development

Why Your Spring Boot Code Is Hard to Maintain—and How the Builder Pattern Solves It

The article explains how the Builder pattern in Spring Boot eliminates the telescoping‑constructor and unsafe‑setter problems of complex objects, improves readability, immutability and maintainability, shows hand‑written and Lombok implementations, provides usage examples for DTOs, API responses and queries, and offers best‑practice guidelines.

Builder PatternImmutableJava
0 likes · 10 min read
Why Your Spring Boot Code Is Hard to Maintain—and How the Builder Pattern Solves It
Top Architect
Top Architect
Mar 11, 2026 · Backend Development

Why Over‑Engineered Architecture Fails: Real‑World Lessons from a Code Review

A senior architect recounts a code review where a colleague wrapped a simple two‑payment‑method order system in strategy, factory, and abstract‑factory patterns, then explains why such over‑design hurts maintainability, when to apply complex patterns, and practical guidelines for clean backend architecture.

design patternssoftware architecture
0 likes · 13 min read
Why Over‑Engineered Architecture Fails: Real‑World Lessons from a Code Review
SuanNi
SuanNi
Mar 4, 2026 · Artificial Intelligence

How Skills Empower Autonomous Agents: Architecture, Design Patterns, and Security Risks

The article provides an in‑depth analysis of the Skills mechanism that gives large language model agents reusable procedural memory, detailing its core components, seven design patterns, real‑world security threats, evaluation benchmarks, and the challenges of safely scaling autonomous AI systems.

AI AgentsAutonomous SystemsSkills architecture
0 likes · 14 min read
How Skills Empower Autonomous Agents: Architecture, Design Patterns, and Security Risks
IT Services Circle
IT Services Circle
Feb 26, 2026 · Interview Experience

Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know

This article walks through the five practical levels of using C++ friend— from a quick syntax recap to operator overloads, factory functions, iterator access, swap idiom, and the Passkey pattern—explaining when and why each scenario warrants a friend declaration and how it impacts encapsulation and interview performance.

Access ControlC#design patterns
0 likes · 14 min read
Master C++ friend: 5 Levels of Usage Every Interview Candidate Should Know
Data STUDIO
Data STUDIO
Feb 26, 2026 · Fundamentals

Stop Using a Monolithic utils.py: 3 Design Patterns to Make Your Python Code Cleaner

The article explains why a sprawling utils.py becomes a maintenance nightmare in Python projects, outlines three concrete patterns—module‑level placement, class‑based methods, and small dedicated modules—to restructure code, and provides decision criteria for when a function truly belongs in a utility module.

code organizationdesign patternsmodularization
0 likes · 11 min read
Stop Using a Monolithic utils.py: 3 Design Patterns to Make Your Python Code Cleaner
Architect's Guide
Architect's Guide
Feb 26, 2026 · Backend Development

8 Essential Software Architecture Patterns and When to Use Them

This article explains eight common software architecture patterns—from single‑database apps to microservices, caching, sharding, elastic scaling and multi‑datacenter deployment—detailing their designs, typical use cases, advantages, drawbacks, and practical implementation steps.

CachingElastic ScalingSharding
0 likes · 23 min read
8 Essential Software Architecture Patterns and When to Use Them
java1234
java1234
Feb 24, 2026 · Backend Development

Why Most Backend Architecture Patterns Are Over‑Engineered

A code‑review anecdote shows that developers often apply heavyweight patterns like Abstract Factory, Event Sourcing, CQRS, and DDD to simple payment processing, leading to unnecessary complexity; the article explains why this happens, which patterns truly belong in micro‑service backends, and offers practical, lightweight alternatives together with concrete code examples and review guidelines.

Microservicesarchitecturebackend
0 likes · 13 min read
Why Most Backend Architecture Patterns Are Over‑Engineered
Java Companion
Java Companion
Feb 22, 2026 · Backend Development

Why Most Backend Architecture Patterns Are Over‑engineered

A recent code review reveals a colleague using strategy, factory, and abstract‑factory patterns to build a payment system that only needs two methods, exposing how 90 % of classic backend architecture patterns become unnecessary over‑design in modern microservice and cloud‑native environments, and offering practical guidelines for when such complexity truly adds value.

MicroservicesSpring Bootarchitecture
0 likes · 13 min read
Why Most Backend Architecture Patterns Are Over‑engineered
LuTiao Programming
LuTiao Programming
Feb 9, 2026 · Backend Development

Stop Memorizing Design Patterns—Use This Engineering Decision Tree to Solve Spring Boot Complexity

The article explains why design patterns often feel useless in Spring Boot projects, introduces a three‑branch decision tree that maps common sources of complexity to suitable patterns, and demonstrates a concrete refactor of an if‑else payment service into a clean, Spring‑managed strategy‑based solution.

Decision TreeDependency InjectionSpring Boot
0 likes · 9 min read
Stop Memorizing Design Patterns—Use This Engineering Decision Tree to Solve Spring Boot Complexity
Data STUDIO
Data STUDIO
Jan 29, 2026 · Fundamentals

10 Python Design Patterns to Eliminate Spaghetti Code and Build Maintainable Projects

The article explains why architecture matters, introduces ten essential Python design patterns—such as Dependency Injection, Strategy, Builder, Event‑Driven, Repository, Mapper, Pipeline, Command, Specification, and Plugin Registry—with concrete code examples and practical advice to transform messy scripts into clean, scalable applications.

Builder PatternDependency InjectionPlugin system
0 likes · 44 min read
10 Python Design Patterns to Eliminate Spaghetti Code and Build Maintainable Projects
DevOps Coach
DevOps Coach
Jan 27, 2026 · Backend Development

7 Essential Kafka Design Patterns Every Engineer Should Master

This guide presents seven practical Kafka design patterns—single‑key single‑write, log compaction, multi‑consumer‑group fan‑out, retry and dead‑letter topics, exactly‑once processing with Streams, schema evolution with Avro, and choreography vs orchestration—detailing when to use each, core principles, code examples, tips, common pitfalls, and final recommendations for building reliable, observable, and maintainable event‑driven systems.

Reliabilitydesign patternsevent streaming
0 likes · 9 min read
7 Essential Kafka Design Patterns Every Engineer Should Master
Tech Freedom Circle
Tech Freedom Circle
Jan 27, 2026 · Interview Experience

Netease Interview: Write a BlockingQueue in 5 Minutes and Explain Design Patterns & Principles

The article breaks down a common Netease interview task—hand‑coding a BlockingQueue in five minutes—by explaining the underlying lock‑and‑condition mechanism, the relevant design patterns and principles, common pitfalls such as spurious wakeups, and provides a concise, 50‑line Java implementation with step‑by‑step commentary.

BlockingQueueJava concurrencyReentrantLock
0 likes · 20 min read
Netease Interview: Write a BlockingQueue in 5 Minutes and Explain Design Patterns & Principles
Tech Freedom Circle
Tech Freedom Circle
Jan 16, 2026 · Interview Experience

Crack JD Interview: Master Singleton, Factory, Strategy, Template & Observer Patterns in 20 Minutes

This article offers a systematic, high‑concurrency‑focused walkthrough of core Java design patterns—including Singleton, Factory, Strategy, Template Method, and Observer—complete with code examples, pros and cons, selection guidelines, and interview‑ready explanations to help candidates impress interviewers and secure offers.

FactoryHigh concurrencyJava
0 likes · 36 min read
Crack JD Interview: Master Singleton, Factory, Strategy, Template & Observer Patterns in 20 Minutes
Top Architect
Top Architect
Jan 12, 2026 · Backend Development

How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job

This article explains the design and implementation of a generic asynchronous processing SDK for Java, covering its purpose, advantages, core principles, component choices, design patterns, configuration via Apollo, usage steps, safety considerations, and provides complete SQL and Spring configuration examples along with a GitHub repository link.

AsynchronousJavaSpring
0 likes · 11 min read
How to Build a Robust Asynchronous Processing SDK with Spring, Kafka, and XXL‑Job
Software Engineering 3.0 Era
Software Engineering 3.0 Era
Jan 11, 2026 · Operations

Using Claude 4.5 + Nano Banana Pro to Reverse‑Engineer Apache JMeter’s Architecture

The article demonstrates how Claude 4.5 combined with Nano Banana Pro can automatically generate detailed design diagrams and analysis of Apache JMeter’s layered architecture, design patterns, extensibility mechanisms, and distributed execution model, showcasing the power of large‑model‑driven architecture inspection.

Apache JMeterClaude 4.5LLM
0 likes · 13 min read
Using Claude 4.5 + Nano Banana Pro to Reverse‑Engineer Apache JMeter’s Architecture
LuTiao Programming
LuTiao Programming
Jan 9, 2026 · Backend Development

Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth

The article shows how tangled if‑else login code caused by adding password, SMS, WeChat, and Alipay authentication can be refactored using the Strategy and Factory patterns in Spring Boot, resulting in a clean, extensible, plug‑in‑style login module that requires no changes to existing code when new methods are added.

Factory PatternJavaSpring Boot
0 likes · 10 min read
Tame Messy Login Logic: 3‑Step Spring Boot Factory & Strategy Pattern for Multi‑Channel Auth
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 8, 2026 · Artificial Intelligence

How to Build Human‑In‑The‑Loop (HITL) Capabilities into ReactAgent

This article explains how to integrate a Human‑In‑The‑Loop (HITL) mechanism into ReactAgent, detailing the motivation, design of interaction, tool description, XML‑based UI rendering, Redis‑driven waiting loop, and the broader architectural parallels with design patterns and other agent frameworks.

AgentHITLLLM
0 likes · 14 min read
How to Build Human‑In‑The‑Loop (HITL) Capabilities into ReactAgent
Woodpecker Software Testing
Woodpecker Software Testing
Dec 28, 2025 · Backend Development

Deep Dive into JUnit: Core Concepts, Components, and Design Pattern Integration

This comprehensive tutorial explains JUnit's definition, core components, annotations, assertion methods, test suite creation, custom test rules, and how common design patterns such as Factory, Decorator, Strategy, and Template Method can be applied to write flexible, maintainable Java unit tests, plus installation steps and advanced usage tips.

JUnitJavaTest Annotations
0 likes · 25 min read
Deep Dive into JUnit: Core Concepts, Components, and Design Pattern Integration
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.

Backend DevelopmentDomain-Driven DesignOOP
0 likes · 7 min read
From Procedural PHP to Modern Practices: Transform Your Development Mindset
IT Services Circle
IT Services Circle
Nov 25, 2025 · Backend Development

ByteDance Backend Interview Secrets: Salary, Design Patterns, HashMap Issues & More

The article shares eye‑opening ByteDance campus salary data, breaks down salary tiers, and then provides detailed interview preparation covering design patterns, HashMap concurrency pitfalls, MySQL indexing rules, query optimization, handling large JSON fields, stock‑decrement bottlenecks, RabbitMQ vs RocketMQ differences, and distributed‑transaction strategies.

backenddesign patternsdistributed-transactions
0 likes · 25 min read
ByteDance Backend Interview Secrets: Salary, Design Patterns, HashMap Issues & More
Liangxu Linux
Liangxu Linux
Nov 22, 2025 · Fundamentals

How to Build a Scalable Embedded Power‑Management Framework with Observer and Responsibility Chains

This article explains how AIoT‑era embedded devices evolve from simple C/assembly code to reusable, portable frameworks by applying design patterns such as the Observer pattern and a custom responsibility‑chain model for low‑power management, complete with code examples, memory‑pool handling, and test cases.

AIoTC ProgrammingEmbedded
0 likes · 16 min read
How to Build a Scalable Embedded Power‑Management Framework with Observer and Responsibility Chains
Tech Freedom Circle
Tech Freedom Circle
Nov 17, 2025 · Backend Development

Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer

This article breaks down Spring’s layered architecture and walks through ten core design patterns—factory, singleton, proxy, template method, observer, adapter, decorator, strategy, chain of responsibility, facade, and delegate—showing how they appear in real interview scenarios and how mastering them can turn a tough interview question into a winning advantage.

JavaSpringSpring Framework
0 likes · 50 min read
Spring Design Patterns Interview: The One Question That Can Make or Break Your Offer
Su San Talks Tech
Su San Talks Tech
Nov 17, 2025 · Backend Development

Unlock Tomcat’s Secrets: Deep Dive into Its Architecture, Design Patterns, and Class Loading

This article provides a comprehensive technical walkthrough of Tomcat, covering its connector and container architecture, lifecycle management, key design patterns such as Composite and Template Method, custom class‑loading mechanisms, hot‑reload process, and includes essential code snippets and diagrams for developers.

Backend DevelopmentClass LoaderJava
0 likes · 43 min read
Unlock Tomcat’s Secrets: Deep Dive into Its Architecture, Design Patterns, and Class Loading
Architect
Architect
Nov 16, 2025 · Backend Development

Unlocking MyBatis: 10 Design Patterns Powering Its Architecture

The article examines how MyBatis leverages around ten classic design patterns—grouped into Creational, Structural, and Behavioral categories—to decouple complex ORM logic, describing each pattern’s role, typical usage scenarios, and related components within the framework.

Backend DevelopmentJavaMyBatis
0 likes · 12 min read
Unlocking MyBatis: 10 Design Patterns Powering Its Architecture
Code Wrench
Code Wrench
Nov 13, 2025 · Backend Development

Unlock Go’s Structural & Architectural Patterns with Real-World Code

This guide explores key Go structural and architectural design patterns—Adapter, Decorator, Proxy, Bridge, Composite, Flyweight, Facade, Pipeline & Filter, Event Bus, Microkernel, and Dependency Injection—providing definitions, core ideas, Go implementations, and practical use cases to build scalable, maintainable systems.

GoStructural Patternsarchitectural patterns
0 likes · 13 min read
Unlock Go’s Structural & Architectural Patterns with Real-World Code
Code Wrench
Code Wrench
Nov 11, 2025 · Backend Development

Unlock High‑Maintainability Go Projects with 20+ Creational & Structural Design Patterns

This guide walks Go developers through essential creational and structural design patterns—Singleton, Simple Factory, Factory Method, Abstract Factory, Builder, and Facade—explaining their principles, Go implementations, pros and cons, and real‑world use cases to build scalable, loosely‑coupled systems.

Backend DevelopmentBuilderFacade
0 likes · 11 min read
Unlock High‑Maintainability Go Projects with 20+ Creational & Structural Design Patterns
Java Architect Essentials
Java Architect Essentials
Oct 30, 2025 · Backend Development

How Enums Can Eliminate Messy if‑else Chains in Java Payment Logic

This article explains why traditional if‑else payment routing is hard to maintain, demonstrates how Java enums combined with functional interfaces and the strategy pattern can centralize behavior, improve extensibility, and integrate cleanly with Spring, providing a robust, testable solution for payment channel selection.

EnumJavaPayment Integration
0 likes · 10 min read
How Enums Can Eliminate Messy if‑else Chains in Java Payment Logic
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 24, 2025 · Artificial Intelligence

7 Essential Agent Design Patterns for Building Autonomous AI Systems

This article explains the fundamental differences between workflows and agents, introduces seven core design patterns—including three workflow patterns and four agent patterns—provides Python examples using Ollama, and shows how to combine these patterns to create robust, autonomous AI applications.

AI AgentsAutonomous SystemsLLM
0 likes · 30 min read
7 Essential Agent Design Patterns for Building Autonomous AI Systems
JavaGuide
JavaGuide
Oct 21, 2025 · Backend Development

Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide

The article reveals Xiaohongshu’s unusually high 2023 campus recruitment packages—over 51 w annual total—while also providing an extensive backend interview preparation guide covering TCP vs UDP differences, design patterns, workflow versus rule engines, message‑queue selection, and Redis data structures and eviction policies.

Backend DevelopmentMessage QueueRedis
0 likes · 32 min read
Xiaohongshu’s Explosive Salaries and a Complete Backend Interview Guide
Ray's Galactic Tech
Ray's Galactic Tech
Oct 19, 2025 · Fundamentals

Master Java Design Patterns: From GoF Classics to Modern Architecture

This comprehensive guide explains why design patterns matter, links them to SOLID principles, enumerates the 23 classic GoF patterns with Java examples, compares commonly confused patterns, introduces modern architectural patterns, shows how they integrate with Spring, and offers a practical learning roadmap for developers.

JavaSOLIDSpring
0 likes · 8 min read
Master Java Design Patterns: From GoF Classics to Modern Architecture
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 19, 2025 · Backend Development

16+ Proven Techniques to Refactor Java If‑Else into Clean, Maintainable Code

This article presents over sixteen practical refactoring methods for Java, demonstrating how to replace tangled if‑else statements with clearer constructs such as early returns, ternary operators, switch‑case, guard clauses, optional handling, enums, reflection, strategy, and table‑driven approaches, each illustrated with concise code examples.

Code CleanlinessJavaSpring Boot
0 likes · 16 min read
16+ Proven Techniques to Refactor Java If‑Else into Clean, Maintainable Code
JavaScript
JavaScript
Oct 16, 2025 · Frontend Development

10 Cleaner Alternatives to if‑else in JavaScript

This guide shows how to replace verbose if‑else chains in JavaScript with cleaner techniques such as object mapping, Array.includes, ternary operators, logical shortcuts, switch statements, Proxy interception, functional patterns, state machines, and decorators, providing concise code examples for each method.

Code RefactoringConditional LogicJavaScript
0 likes · 3 min read
10 Cleaner Alternatives to if‑else in JavaScript
Architect's Guide
Architect's Guide
Sep 28, 2025 · Backend Development

Mastering Microservice Design Patterns: When, Why, and How to Apply Them

An in‑depth guide to microservice architecture explores its evolution, core characteristics, advantages and drawbacks, and walks through essential design patterns—Database per Service, Event Sourcing, CQRS, Saga, BFF, API Gateway, Strangler, Circuit Breaker, Externalized Configuration, and Consumer‑Driven Contract Testing—detailing when and why to use each.

backend-architecturedesign patterns
0 likes · 28 min read
Mastering Microservice Design Patterns: When, Why, and How to Apply Them
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.

Backend DevelopmentOOPPHP
0 likes · 4 min read
Master PHP OOP: 5 Best Practices to Write Clean, Maintainable Code
Liangxu Linux
Liangxu Linux
Sep 25, 2025 · Fundamentals

Decoupling Embedded Systems: Layers, Event‑Driven Design, and Dependency Injection

This guide explains how to achieve clean decoupling in embedded software by employing a systematic layered architecture, leveraging event‑driven and pipeline‑filter patterns for data flow, and applying dependency injection, complete with practical C code examples and best‑practice recommendations for resource‑constrained devices.

C ProgrammingDependency InjectionLayered Design
0 likes · 17 min read
Decoupling Embedded Systems: Layers, Event‑Driven Design, and Dependency Injection
Zhixing ZXD Design Center
Zhixing ZXD Design Center
Sep 23, 2025 · Product Management

How Uber, Maoyan, Gaode, Ant Fortune & Taobao Turn Waiting into Play: 5 Design Cases

This article showcases five recent UI/UX case studies—from Uber's waiting‑time game to Taobao's flash‑sale draw—illustrating how interactive design, gamification, data‑backed rankings, AI assistance, and clever reward mechanics can boost user engagement, reduce friction, and drive conversion across mobile products.

Case StudyUI innovationUX design
0 likes · 7 min read
How Uber, Maoyan, Gaode, Ant Fortune & Taobao Turn Waiting into Play: 5 Design Cases
JD Tech Talk
JD Tech Talk
Sep 18, 2025 · Fundamentals

Mastering the Strategy Pattern in Java: Real-World Spring Implementation

This article explains the Strategy (Policy) Pattern, illustrates its structure, and demonstrates a practical Spring-based implementation where different message types are processed by distinct strategy services, using an enum to map types to beans for flexible, interchangeable algorithms.

Dependency InjectionSpringStrategy Pattern
0 likes · 4 min read
Mastering the Strategy Pattern in Java: Real-World Spring Implementation
JD Cloud Developers
JD Cloud Developers
Sep 18, 2025 · Fundamentals

Mastering the Strategy Pattern in Spring: Dynamic Message Processing Explained

This article introduces the Strategy design pattern, explains its core concept of interchangeable algorithms, and demonstrates a practical Spring-based implementation that routes various message types to specific services using an enum‑driven bean lookup, enabling flexible updates to Elasticsearch for merchant search and analytics.

Dependency InjectionSpringStrategy Pattern
0 likes · 3 min read
Mastering the Strategy Pattern in Spring: Dynamic Message Processing Explained
Architect's Guide
Architect's Guide
Sep 16, 2025 · Backend Development

How to Replace Clunky if‑else Chains with Elegant Java Patterns

This article shares practical techniques for reducing verbose if‑else statements in Java, covering strategy‑enum patterns, ternary operators, Stream API methods, Map lookups, enums, and Optional, each illustrated with concise code examples to make conditional logic clearer and more maintainable.

JavaStream APIcode optimization
0 likes · 9 min read
How to Replace Clunky if‑else Chains with Elegant Java Patterns
IT Services Circle
IT Services Circle
Sep 13, 2025 · Fundamentals

When to Replace if‑else with Strategy Pattern in Embedded Systems

This article compares traditional if‑else/switch‑case branching with the Strategy design pattern in embedded development, illustrating their differences through analogies and code examples, and explains when to adopt Strategy for better extensibility, lower coupling, and maintainability while noting scenarios where simple branching remains preferable.

design patternsembedded systemsif-else
0 likes · 12 min read
When to Replace if‑else with Strategy Pattern in Embedded Systems
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.

C#OOPRuntime Binding
0 likes · 35 min read
Unlocking C++ Polymorphism: How Virtual Tables Enable Runtime Flexibility
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Sep 10, 2025 · Fundamentals

How to Effectively Read Open‑Source Code: A Practical Guide

This article outlines a step‑by‑step approach to mastering source‑code reading—starting from using the software, understanding its principles and architecture, learning its workflows, and finally dissecting implementations—to help developers answer interview questions and deepen their technical expertise.

design patternslearning strategyopen source
0 likes · 3 min read
How to Effectively Read Open‑Source Code: A Practical Guide
Su San Talks Tech
Su San Talks Tech
Sep 10, 2025 · Fundamentals

15 Proven Code Refactoring Techniques to Supercharge Your Java Projects

Learn 15 practical code refactoring techniques—from extracting methods and introducing explanatory variables to applying design patterns like Strategy and Builder—that transform tangled Java code into clean, modular, and maintainable solutions, boosting readability and simplifying future enhancements.

Code RefactoringJavaclean code
0 likes · 30 min read
15 Proven Code Refactoring Techniques to Supercharge Your Java Projects
php Courses
php Courses
Sep 4, 2025 · Backend Development

Avoid Common Dependency Injection Pitfalls in PHP and Master Best Practices

This article explains why many PHP developers misuse Dependency Injection, outlines typical misconceptions such as equating DI with container usage, over‑reliance on constructors, and ignoring abstractions, and then provides concrete, testable solutions and best‑practice guidelines.

Dependency InjectionPHPdesign patterns
0 likes · 6 min read
Avoid Common Dependency Injection Pitfalls in PHP and Master Best Practices
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2025 · Backend Development

Building a Flexible Contract Signing Workflow with Chain of Responsibility

This article explains how to design a contract‑signing workflow in Java using the Chain of Responsibility and Strategy patterns, covering the processing steps, project structure, annotation‑driven bean injection, and complete code examples for each component.

Chain of ResponsibilityDependency InjectionStrategy Pattern
0 likes · 16 min read
Building a Flexible Contract Signing Workflow with Chain of Responsibility