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

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

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
201
16
장
간결하게 하기
러면 유지 보수하는 프로그래머들이 고마워할 것이다.
16.3
어리석지 않게, 간결하게 하라
오류를 발견했을 때 다룰 수 있는 두 가지 방법은 다음과 같다.
• 문제를 해결하기 위한 가장 쉬운 방법을 택하라. 단순하게 만들려던 게 아닌가? 겉으로 드러나는 문제를 (적당
히 반창고를 붙여) 고치라. 너무 많은 작업을 해야 한다면 더 깊이 잠재되어 있는 문제를 해결하는 것에 대해
서는 신경 쓰지 말라. 지금 당장은 최소한의 노력만 들이면 되지만, 앞서 보았던 엉망진창 코드의 부류로 이끌
게 될 것이다. 이것은 문제를 더 간결하게 만들지 않고 더 복잡하게 만든다. 새로운 결점을 만들어냈고 근본적
인 문제를 해결하지 못했다.
• 또 다른 방법은 코드를 재작성하여, 오류는 수정하면서도 간결함을 유지하는 것이다.
API
를 더 적절하게 조정
할 수도 있고, 올바른 오류 수정을 위해 몇 가지 논리를 리팩토링할 수도 있다. 심지어 코드에서 논리적으로 합
당하지 않은 가정을 발견하여 심각한 재작업을 할 수도 있다.
이중에서 후자를 목표로 삼아야 한다. 더 많은 노력을 요구하지만, 결국 장기적으로는 코드를
가장 간결한 형태로 이끈다.
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