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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
validate를 객체지향적으로 사용하기
저희 코드를 보면 validate를 객체지향으로 작성되지 않고 있어요
위 코드처럼 if 문을 이용하여 validate를 처리하고 있습니다.
하는일을 보면
제가 생각했을 때는 단일책임원칙을 위반하고 있는 것 같아요
이 코드를 개선해서 좀 더 객체지향적으로 설계할 수 있을까요????
discussion 댓글로 남겨주세요 👇🏻👇🏻👇🏻👇🏻👇🏻👇🏻
Beta Was this translation helpful? Give feedback.
All reactions