읽기 쉬운 소스 코드

Jongwon Woo
1 min readOct 3, 2018

--

읽기 쉬운 소스 코드란 무엇인가

좋은 설계나 디자인 패턴이 읽기 쉬운 소스 코드라고 생각하지 않는다.

간결하고 명확하게 작성된, 그리고 정확하게 동작하는 소스 코드가 읽기 쉬운 소스 코드이다.

읽기 쉬운 소스 코드는 좋은 설계와 디자인 패턴 등을 구현하기 위한 기본 재료이다.

소스 코드는 왜 읽기 쉬워야 하는가

프로그래머는 많은 시간을 이미 작성된 소스 코드를 수정하며 보낸다. 그리고 동료 프로그래머들과 일한다.

그래서 읽기 쉬워야 이해하기 쉽고, 이해하기 쉬워야 수정하기 쉽다.

읽기 쉬운 소스 코드는 어떻게 작성하는가

다음 책들을 읽고, 이해하기위해 연습하면 분명히 도움이 될 것이다.

McConnell, Steve. Code Complete

Fowler, Martin. Refactoring

그리고, 유시민의 글쓰기특강

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Jongwon Woo
Jongwon Woo

Written by Jongwon Woo

I try to make something awesome.

No responses yet

Write a response