간단하고, 불필요한 것이 없으며, 끝이라고 확실하게 답할 수 있는 것을 아름답다고 여긴다.
- 랠프 월도 에머슨
Ralph
Waldo
Emerson
, 미국의 시인이자 사상가
단순한 것이 더 아름답다는 말은 진부한 격언이지만, 때로는 진실이다.
필자가 기억하는 가장 흥분된 코드 개선 방법은 코드에서 방대한 부분을 제거하는 것이었다.
그것은 실로 기분 좋은 일이었다.
전쟁이야기 : 그 코드는 필요 없어
애자일 소프트웨어 개발팀으로써, 우리는
YAGNI
를 포함한 익스트림 프로그래밍
extreme
Progra
mming
신조를 따르고 있었다. 여기서
YAGNI
란 ‘
You
Aren
’
t
Gonna
Need
It
’의 약자로, 불필
요한 코드를 작성하지 않도록 주의하자는 의미이다. 해당 코드가 언젠가 필요할 것으로 보이는
경우도 마찬가지이다. 당장 필요하지 않다면 작성하지 말라. 정말 필요할 때까지 기다리라.
이는 대단히 현명한 충고처럼 들린다. 우리는 모두 그 충고를 받아들였다.
하지만 인간 본성으로 인해 몇몇 상황에 부닥치게 되었다. 그중 하나로, 제품이 특정 작업을 실
행하는 데 시간이 너무 오래 걸리는 것을 확인했다. 본래대로라면 거의 바로 실행되었어야 할 간
단한 작업이었다. 하지만 요구되지 않은 여분의 부가 기능과 추가 확장을 위한 훅
hooks ...
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.
O’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
I 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
I’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
I'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.