Software Engineer's Blog

Showing Posts From

SOLID

Applying OCP with the Strategy Pattern in Java

System Design

Applying OCP with the Strategy Pattern in Java

Jason Yang · 13 May, 2026

Apply the Open-Closed Principle in Java with the Strategy Pattern — add new behavior without editing core logic, shown with a payment-processing example.

DIP vs DI: Understanding the Difference in Java

System Design

DIP vs DI: Understanding the Difference in Java

Jason Yang · 13 May, 2026

DIP vs DI in Java: they work together but differ — DIP keeps logic depending on abstractions, DI supplies dependencies from outside. Explained with examples.

SOLID Principles in Java

System Design

SOLID Principles in Java

Jason Yang · 12 May, 2026

SOLID principles in Java explained with simple examples — SRP, OCP, LSP, ISP, and DIP, each with backend-focused code. The full series index starts here.