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

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

by 최원재, 강전희, 안재덕, 남윤화, 피트 구들리프
May 2016
Beginner to intermediate
438 pages
8h 46m
Korean
Hanbit Media, Inc.
Content preview from 훌륭한 프로그래머 되는 법: 프로젝트와 팀을 성공으로 이끄는 선배 개발자의 노하우
202
2
부
연습을 통해 완벽해진다
지를 명확하게 하는 것이다. 코드 작성 시 고려된 제약 조건과 문맥 등이 그에 포함된다.
TIP
코드에서 은연중에 가설을 만들지 않도록 하라.
16.5
너무 이른 최적화를 피하라
최적화는 간결함과는 대조적이다. 커누스
knuth
는 다음과 같은 유명한 말을 남겼다. “지나치게 조
급한 최적화는 프로그래밍에서 모든 악의 근원이다.”
4
코드 최적화 행위는 확실하고 읽기 쉬운 알고리즘 구현을 찾아낸 뒤 잘게 썰어버리는 행위
5
라
할 수 있다. 알고리즘의 전형적인 형태를 망가뜨려
6
특정 조건에 놓인 머신에서 더 빠르게 실
행되게 한다. 이는 결국 덜 구체적이고 덜 간결하게 형태를 바꾼다. 우선 명확한 코드를 작성하
라. 복잡한 것은 필요할 때 만들라.
더 기발하게 만들 필요가 있다고 판단될 때까지는 간결하고 표준적인 것을 사용하라. 알고리즘
의 가장 확실한 구현체를 작성하고, 더 빠르게 만들 필요가 있는지 성능을 측정해보라. 다시 한
번 당부하지만 가정을 만드는 것에 주의하라. 많은 프로그래머는 자신이 느릴 것이라 예상하는
부분을 최적화한다. 하지만 막상 느린 이유는 다른 곳에 있는 경우가 많다.
16.6
충분하게 간결하기
간결함은 충분함과 연관이 있어야 한다. 다음과 같은 몇 가지 방향 설정을 통해 가능하다.
• 가장 간결한 방법으로 작업하
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