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

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

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
203
16
장
간결하게 하기
필요한 만큼의 코드만 작성하라. 코드를 적게 작성할수록 더 적은 버그가 만들어질 것이다.
• 지나치게 복잡한 해결책을 내놓지 말라. 격해지기 쉬운 개발자들을 흥분시킬 것이다. 당장 처리해야 하는 이슈
만 해결하라. 관련이 없는 전체 클래스의 문제에 대해 불필요한 일반적 해결책을 발명해내지 말라. 요구사항을
딱 충족시키는 정도까지만 작업하라.
TIP
딱 필요한 만큼의 코드만 작성하라. 무엇이든 추가하는 것은 복잡함이 되고 짐이 될 것이다.
16.7
마치며
우리는 아름답고 간결한 코드가 불필요한 정도로 복잡한 코드보다 낫다는 것을 알고 있다. 그
리고 나쁘고 못생기며 복잡한 코드는 볼 만큼 보아왔다. 사실 그렇게 코드를 작성하려 일부러
노력하는 사람은 그리 많지 않다. 복잡함으로 가는 길은 보통 급히 수정하고 표준을 빠뜨리는
과정에서 비롯된다. 그저 하나의 느슨한 변화, 하나의 반창고 수정, 하나의 코드 리뷰 생략, 하
나의 “리팩토링할 시간이 없었어”와 같은 상황들이 충분히 전개되고 난 후에, 코드는 무서운 혼
란에 빠지게 되고, 온전하게 복구하는 방법을 찾아내기 어려워진다.
슬프게도 간결함은 꽤 힘든 작업이다.
간결함은 수많은 유명 개발자 격언들로부터 태어난 표제어이다.
YAGNI
(
You
Aren
’
t
Going
To
Need
It
:
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