Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions 9장/신승준.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 나쁜 코드와 인지 부하를 방지하는 두 가지 프레임워크

## 코드 스멜이 인지 부하를 초래하는 이유

코드 스멜은 작동은 하지만 개선의 여지가 있는 코드를 의미한다.

작업 기억 공간의 용량이 6개 정도로 작기 때문에 6개를 넘는 매개변수는 사람들이 기억하기에 무리가 있다.

### 언어적 안티패턴

언어적 요소가 수행하는 역할과 일치하지 않을 때를 말한다.
ex. isValid가 boolean이 아니라 정수를 반환할 때

> 혼자 일한다면 어떻게 코드 스멜을 알아챌 수 있을까요? 전 지난 번에 혜성님이 알려준 super claude의 /sc:git으로 리뷰를 요청할 것 같긴 한데 더 좋은 방법이 있을까요?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

저도 좀 알려주세요

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ