Skip to Content
훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
book

훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
98
1
부
you.write(code) ;
7.6
수정하기
똥 덩어리 코드를 다룰 때 가장 중요한 조언은 다음과 같다.
TIP
코드 수정은 천천히, 주의 깊게 하라. 한 번에 하나씩 수정하라.
중요한 말이니 한 번 더 읽어보길 권한다. 이 조언을 따르려면 몇 가지 실질적인 방법을 써야
한다. 구체적으로는 다음과 같다.
• 기능을 변경하면서 코드의 레이아웃을 바꾸지 말라. 꼭 필요한 경우 레이아웃을 변경하라. 그런 다음 해당 코드
를 소스 관리 도구에 커밋하라. 그리고 기능 변경을 하라(다만 코드 레이아웃이 마음에 들지 않는 경우에만 변
경하길 추천한다).
• 수정으로 인해 기존 기능에 문제가 생기지 않음을 보장할 수 있는 모든 수단을 사용하라. 신뢰할 만한 자동화 도
구를 사용하라. 그런 도구를 사용할 수 없다면 변경 사항들에 대해 충분히 세심하게 검토하고 검증하라. 다른 사
람들의 도움을 청하라. 이러한 방향이 바로 리팩토링의 첫 번째 요구 조건이다. 리팩토링은 코드 구조를 향상시
키기 위한 일련의 기술들을 뜻한다.
• 이 목표에 효과적으로 도달하려면 적절한 단위 테스트들로 코드를 충분히 둘러싸야 한다. 똥 덩어리 코드 주변
에 테스트 코드가 전혀 없는 것 같다면, 코드의 주요 행태와 관련된 몇몇 테스트 코드를 먼저 작성하는 것에 대
해 고려하라.
• 코드를 감싼
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

클라우드 네이티브: 클라우드 네이티브 애플리케이션을 설계, 개발, 운영하는 핵심 가이드

정원천, 보리스 숄, 트렌트 스완슨, 피터 야우쇼베츠

Publisher Resources

ISBN: 9788968482304