Tagged articles
3 articles
Page 1 of 1
Su San Talks Tech
Su San Talks Tech
Apr 19, 2025 · Backend Development

How to Refactor Smelly if…else Chains in Java: 5 Clean Design‑Pattern Solutions

This article examines the problems of long if…else statements in Java payment services, explains why they violate the Open‑Closed and Single Responsibility principles, and presents five practical refactoring techniques—including annotations, dynamic bean names, template methods, strategy‑factory, and chain‑of‑responsibility patterns—to eliminate the conditional logic.

DesignPatternsJavaOpenClosedPrinciple
0 likes · 16 min read
How to Refactor Smelly if…else Chains in Java: 5 Clean Design‑Pattern Solutions
dbaplus Community
dbaplus Community
Aug 14, 2019 · Cloud Native

What Is the “Container Ops Pattern” and How It Reshapes Kubernetes Management

The article traces the shift from physical‑server deployments to container‑cloud platforms, defines a newly coined “container ops pattern”, explains its core scenarios, compares declarative and imperative workflows, dissects Kubernetes API objects, controllers, and interfaces (CRI, CSI, CNI), and outlines the master‑node architecture that underpins modern cloud‑native operations.

CloudNativeContainerOpsDesignPatterns
0 likes · 23 min read
What Is the “Container Ops Pattern” and How It Reshapes Kubernetes Management