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

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

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
99
7
장
똥통에서 뒹굴기
거시 코드 활용 전략』(에이콘,
2008
)
1
이 있다. 이 책은 코드를 적절히 수정하는 기법을 소개한
다. 테스트 코드를 작성할 만한 혹은 가장 안전하게 수정을 가할 만한 적절한 지점을 찾는 방법
들이 그것이다.
전쟁 이야기 : 컨테이너 코드에 대한 흥미로운 사례
한 컨테이너 클래스가 있었다. 이 클래스는 우리 프로젝트에서 중요한 부분을 차지하고 있었다.
하지만 내부적으로 잘못 작성되어 있었고
API
도 엉터리였다. 맨 처음 코드를 작성했던 사람이
버그를 만들기 위해 일한 것 같기도 했다. 원래부터 혼란스러웠던 행태들로 인해 버그를 찾기도
어려웠다. 정말이지 버그는 혼란스러운 행태 그 자체였다.
프로그래머 중 엄청난 기술력을 가진 사람이 이 컨테이너를 리팩토링하고 수정하려 달려들었다.
외부 노출 인터페이스는 그대로 두고, 내부의 꼬인 부분들을 수정했다. 각종 메서드, 결함이 있
는 객체 생명 주기, 성능, 코드 외관 등이 그것이었다.
그는 형편없고 멍청하며 지나치게 단순한 코드를 들어내는 대신, 완전히 반대되는 코드로 바꿔
버렸다. 하지만 기존
API
를 유지하려던 노력 탓에 내부 코드가 오히려 부자연스러워졌다. 적절
한 코드라기보다는 과학 프로젝트 같은 알아보기 힘든 것이 되었다. 이걸 가지고 작업하기는 너
무 어려웠다. 기존의 기괴하기
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