You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SRP 원칙에서 클래스 간에 연결 때문에 변경사항 하나로 인해 많은 클래스를 변경하게 되는 경우는 SRP 원칙을 지키지 않은 것이라고 배웠습니다. 지금 문제는 변경 사항 하나 때문에 여러 클래스를 변경해야 되는 것이 문제인 것인데 그렇다면 클래스를 통합하여 하나의 클래스에서 처리를 한다면 결국 변경 사항 하나로 인해 하나의 클래스가 변경되는 것이니 이런 경우를 단일 책임 원칙을 지켰다고 볼 수 있을까요?