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

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

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
59
3
장
코드 적게 쓰기
르게 변화한다. 이런 현상이 발생했을 때 죽은 숲을 갈아엎는 것을 두려워하지 말라. 오래된 컴
포넌트를 필요한 것만 가지고 있는 간결한 컴포넌트로 바꾸라.
설계할 때는 기존의 라이브러리를 이용해 프로그래밍 문제를 해결할 수 있는지를 고려해야 한
다. 기존의 라이브러리를 이용하면 불필요한 코드를 모두 불러올 필요가 없다. 이름값 하는 라
이브러리는 강건하고, 확장성이 있으며 자주 이용된다.
3.8
공백
미리 놀랄 필요는 없다. 필자는 공백(스페이스, 탭, 그리고 새 줄)을 공격하려는 것이 아니다.
공백이란 좋은 것이다. 공백 사용을 두려워하지 말라. 시를 암송할 때 적절한 타이밍에 침묵하
는 것처럼, 적절한 공백은 코드 구조
frame
에 도움이 된다. 다만 함수 사이를 스무 줄씩 띄우는
식의 과한 사용은 독이 될 수 있다.
로직 구조를 분리할 때 괄호를 사용하는 것도 고려하라. 때때로 괄호는 로직을 명확하게 만들
어준다. 물론 가끔은 불필요하고 방해가 되기도 한다.
3.9
그래서 무엇을 해야 할까
공정하게 말하자면, 불쾌한 코드는 고의성을 띠지 않는다. 대부분의 개발자는 힘들고, 중복
되며, 무의미한 코드를 의도적으로 작성하지 않는다(간혹 좋은 코드에 시간을 투자하기보다
낮은 품질의 코드를 계속 사용하는 게으른 프로그래머가 없지는 않다). 이러한 문제는 오랜
시간 동안 많은 사람에 의해 유지 보수되고 확장되며, 공유되고 디버깅된 코드 레거시로 해
결될 수 있다.
그렇다면 어떻게 해야 할까? 책임감을 느껴야 한다. 불필
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