-
Notifications
You must be signed in to change notification settings - Fork 5
더 나은 프로그래머 되는법 2주차 - 이동현 #539
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # 더 나은 프로그래머 되는법 = ch09~13 | ||
|
|
||
| ## 논의 | ||
|
|
||
| - 지저분한 대도시에서 디자인 타운으로 변경한 경험이 있다면 공유하면 좋을 것 같습니다. 이러한 경험이 없다면 디자인 타운을 만들기 위해 개인적으로 하는 노력을 공유하면 좋을 것 같습니다. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 지저분한 대도시가 되는 방향으로 가고 있다면 디자인 타운으로 바꾸기 위한 시간을 들여서 조금씩 변경을 하고 있습니다. |
||
|
|
||
| ## 내용 | ||
|
|
||
| - 좋은 코드를 작성하는 것은 낙관론이나 비관론에 관한 것이 아니라, **물이 새지 않는 컵을 만드는 과정**과 같다. | ||
| - 테스트하지 않은 코드는 버그 번식지나 다름없다. 테스트는 **표백제 역할**을 합니다. | ||
| - 코드의 특정 행태를 확인하는 테스트를 통해 더 응집되고 명확한 테스트를 작성할 수 있다. | ||
| - 좋은 구조, 즉 이해하고 유지 보수하기 더 간단한 구조를 만들기 위해 코드를 '모듈'로 간주하고 패키지, 컴포넌트, 클래스 등 세부적인 부분으로 나누어라. | ||
| - 작고 수많은, 즉 더 응집도가 높은 클래스를 선호하라. 되도록이면 하나의 일만 처리하는 게 가장 좋다. | ||
| - 순환적인 의존 관계에 있는 객체들은 융통성이 없고 쉽게 변하지 않으며 작업하기도 어렵다. | ||
| - 이러한 구조는 연결을 끊거나 새로운 추상적인 인터페이스를 만들어 객체들 간의 결합을 줄임으로써 간단히 정리할 수 있다. | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
중요한 코어 도메인의 비즈니스 로직의 경우는 디자인 타운에서 말하는 것들을 가능한 지키려고 노력하고 있습니다
사실상 모든 코드 베이스가 디자인 타운과 같이 유지한다는 것은 그 유지비용도 비용이기 때문에, 유지를 하더라도 비용이 많이 들것이라 생각하고 현실적으로는 중요한 것을 선별해서 적용하는것이 맞다고 생각합니다