Skip to Content
실무로 통하는 클린 코드
book

실무로 통하는 클린 코드

by 막시밀리아노 콘티에리, 이태영
August 2024
Beginner to intermediate
488 pages
11h 1m
Korean
Hanbit Media, Inc.
Content preview from 실무로 통하는 클린 코드
214
실무로 통하는 클린 코드
시간 및 노력 낭비, 유지 보수 비용 증가로 이어질 수 있습니다.
YAGNI
원칙은 개발자가 프로젝트의 즉각적인 요구 사항에 집중하고 이러한 요구 사항을 충
족하는 데 필요한 기능만 추가하도록 권장합니다. 이를 통해 프로젝트를 단순하고 집중적으로
유지할 수 있으며 개발자는 변화하는 요구 사항에 더욱 민첩하게 대응할 수 있습니다.
12.1
불필요한 코드 제거하기
문제
더 이상 사용하지 않거나 필요 없는 코드가 있습니다.
해결
필요할 때를 대비해 코드를 보관하지 마세요. 그냥 삭제하세요.
설명
코드가 실행되지 않으면 아무도 유지 관리하지 않기 때문에 불필요한 코드는 유지 관리
성을 저해하고
KISS
원칙(
6
.
2
절 ‘빈 줄 제거하기’ 참조 )을 위반합니다. 골드 플래팅 코드가 있
는 다음 예제를 참조하세요.
class Robot {
walk(){
//...
}
serialize(){
//...
}
persistOnDatabase(database){
//...
}
}
노트
골드 플래팅
골드 플래팅
gold
plating
이란 최소 요구 사항이나 사양을 넘어 제품이나 프로젝트에 불필요한 특징이나 기능을 추가
하는 관행을 말합니다. 이는 고객에게 깊은 인상을 남기거나 시장에서 제품을 돋보이게 하고자 하는 등 다양한
이유로 인해 발생합니다. 그러나 골드 ...
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

데이터 과학을 위한 통계(2판)

데이터 과학을 위한 통계(2판)

이준용, 피터 브루스, 앤드루 브루스, 피터 게데크
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀
데이터 엔지니어를 위한 97가지 조언

데이터 엔지니어를 위한 97가지 조언

Tobias Macey, 임혜연(Lim Hye Yeon)

Publisher Resources

ISBN: 9791169212779