DAY 3
๐ย ์ค๋ ์ฝ์ ๋ฒ์ : Grady Booch ~ 1์ฅ ๋
<aside>
๐ ์ฑ
์์ ๊ธฐ์ตํ๊ณ ์ถ์ ๋ด์ฉ์ ์จ๋ณด์ธ์.
</aside>
- Clean code can be read, and enhanced by a developer other than its original author.
- Code, without tests, is not clean. No matter how elegant it is, no matter how readable and accessible, if it hath not tests, it be unclean.
- Reduced duplication, high expressiveness, and early building of simple abstractions. Thatโs what makes clean code for me.
- ...You will read it, and it will be pretty much what you expected. It will be obvious, simple, and compelling.
- The designer makes it look ridiculously simple like all exceptional designs.
- It is not the language that makes programs appear simple. It is the programmer that make the language appear simple!
- The next time you write a line of code, remember you are an author, writing for readers who will judge your effort.
- ...the ratio of time spent reading vs. writing is well over 10:1. We are constantly reading old code as part of the effort to write new code.
- Of course thereโs no way to write code without reading it, so making it easy to read actually makes it easier to write.
- The cleanup doesnโt have to be something big. Change one variable name for the better, break up one function thatโs a little too large, eliminate one small bit of duplication, clean up one composite if statement.
<aside>
๐ค ์ค๋ ์ฝ์ ์๊ฐ์? ๋ ์ค๋ฅด๋ ์๊ฐ์ ๊ฐ๋ณ๊ฒ ์ ์ด๋ณด์ธ์
</aside>
Weโre talking about developer experience (DX) here.
I didnโt realize that the ratio of time spent reading vs. writing is well over 10 : 1, and thinking about it, itโs true. I do spend a lot of time reading othersโ code (or the code Iโve written sometime before) to figure out what/how to write something.
<aside>
๐ ๊ถ๊ธํ ๋ด์ฉ์ด ์๊ฑฐ๋, ์ ์ดํด๋์ง ์๋ ๋ด์ฉ์ด ์๋ค๋ฉด ์ ์ด๋ณด์ธ์.
</aside>
- โCode, without tests, is not cleanโ
- It mentions how Test Driven Development has made a profound impact upon our industry but I still havenโt really practiced TDD myself. The reason for this wasnโt really elaborated otherwise than that. (โ...it has become one of our most fundamental disciplines.โ)