인지 부담을 줄이는 코드 #626
al-bur
started this conversation in
Today I Learned
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
예전에 내가 맡고 있는 프로덕트에 맞는 코드 원칙을 세우는 게 좋겠다는 얘기를 한 적이 있다.
오늘은 그보다 좀 더 큰 관점에서, 글로벌 차원의 코드 원칙(global rule) 에 대해 생각해봤다.
생각해보면, 인지 부담을 줄이는 코드가 글로벌 룰로 삼기에 가장 적당하지 않을까 싶다.
마치 Cursor에서 project rule과 user rule이 나뉘어 각자 다른 역할을 하는 것처럼,
코드 원칙도 그렇게 구분할 수 있을 것 같다.
즉, 프로젝트마다 정해야 하는 원칙은 project rule,
그리고 개인이 코드 스타일이나 효율성을 위해 따르는 원칙은 user rule 같은 느낌!
Beta Was this translation helpful? Give feedback.
All reactions