EngineeringSenior DeveloperTraining Sessions

Session 06 - SOLID Principles: Thực Chiến, Không Giáo Điều

Premium

SOLID bị dạy quá giáo điều: "phải luôn tuân thủ". Thực tế, SOLID là công cụ tư duy, không phải luật. Senior/master biết khi nào áp dụng, khi nào vi phạm có chủ đích.


Mục tiêu

  • Hiểu bản chất từng principle (không phải thuộc lòng định nghĩa)
  • Biết khi nào SOLID giúp ích, khi nào nó over-engineering
  • Review code qua lăng kính SOLID thực chiến

S - Single Responsibility: "1 Lý Do Để Thay Đổi"

csharp
// ❌ Class có NHIỀU lý do thay đổi:
public class OrderService
{
    public Order CreateOrder(OrderRequest req) { /* business logic */ }
Premium

Continue with premium access

Session 06 - SOLID Principles: Thực Chiến, Không Giáo Điều is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates