SRP — Single Responsibility
SRP 원칙은 클래스가 변경될 이유를 하나만 가져야 한다고 설명합니다.
The SRP principle states that a class should have only one reason to change.
AI가 선별한 아티클
SRP 원칙은 클래스가 변경될 이유를 하나만 가져야 한다고 설명합니다.
The SRP principle states that a class should have only one reason to change.
구성(composition) vs 상속(inheritance)에 대한 비교와 조언
A comparison of composition vs inheritance with practical advice.
캡슐화는 상태를 보호하는 방법에 대해 설명합니다.
Encapsulation explains how to protect state in programming.