Pragmatic Programming: Chapter 3

PhaseSmith·2022년 3월 23일
0

3장은 개발을 처음 배울 때 꼭 숙지해야 할 팁들에 대해 나열하였습니다. 굉장히 기본적인 팁이면서도 핵심적인 팁들이기 때문에 중요한 파트라고 생각합니다.

기억하고 싶은 내용

저는 주로 디버깅과 관련된 내용이 중요하다고 생각했습니다.

  • Embrace the fact that debugging is just problem solving, and
    attack it as such. (p.170)
  • Artificial tests (such as the programmer’s single brush stroke from
    bottom to top) don’t exercise enough of an application. You must
    brutally test both boundary conditions and realistic end-user usage
    patterns. (p.172)
  • Tip 29. Fix the problem, not the blame
    Tip 30. Don’t Panic
    Tip 31. Failing Test Before Fixing code
    Tip 34. Don’t Assume it - Prove it!

소감

단순하고 기본적인 숙지사항들이지만 실제로 지키기는 어려운 것들입니다. 항상 개발을 하다가 디버깅 때문에 괴로울 때, 가장 먼저 해야하는 것은 문제의 원인을 찾는 것이 아니라, 마음부터 진정시키고 문제가 생겼다는 사실을 받아들이는 멘탈 관리하는 것입니다.

profile
우리는 데이터와 하나다

0개의 댓글