"The Power of Code Review"
개발
2007. 5. 21. 14:15
블로그가 이사를 갔어요!
죄송합니다! 대부분의 글을 유지하고는 있으나 일부는 유지하지 못했습니다!10초 이내에 새로 옮겨진 페이지로 이동할 겁니다.
원하시는 글이 아니면 전체 목록을 확인해주세요!
소용환의 생각저장소 / 아카이브
코드리뷰에 대한 좋은 글이 있어서 인용한다. 그런데, 한 문장도 빼놓기가 아까운게... 잔뜩 인용해버렸다. :-)
BSBlog » Blog Archive » The Power of Code Review
For the most part, reviewers are not responsible for ensuring correct code function: unit tests are much better suited to that task. What reviewers are responsible for is much more “social”, and typically does not require a detailed line-by-line analysis of the code to perform a review. In many cases, important parts of the review process should happen before a coder starts working on a patch, or after APIs are designed but before implementation.
There are some important side effects of the review process that are also beneficial:There can’t really be general guidelines on how much time to spend reviewing. Some experienced hackers may spend up to 50% of their time doing reviews (I typically spend two days a week doing design and code reviews and various planning tasks). This can be hard, because coding feels much more productive than reviewing.
- More than one person knows every piece of code. Many Mozilla modules have grown a buddy system where two people know the code intimately. This is very helpful because it means that a single person going on vacation doesn’t imperil a release or schedule.
- Reviewing is mentoring. New hackers who are not familiar with a project can be guided and improved through code review. Initiall, this requires additional effort and patience from the reviewer. Code from inexperienced hackers deserves a much more detailed review.
- A public review log is a great historical resource for new and experienced hackers alike. Following CVS blame and log back to bug numbers can give lots of valuable historical information.
나의 지론, 휴가 가고싶으면 잘 하란 말이다.
'개발' 카테고리의 다른 글
django를 다른 웹서버에 의존하여 돌리기 (0) | 2009.10.07 |
---|---|
프로젝트 관리: 서브버전 저장소 사본 만들기, svnsync (0) | 2008.04.09 |
남에게 일을 주었다. 언제 검수해야 하는가? (0) | 2007.11.21 |