Community

개발자 99% 커뮤니티에서 수다 떨어요!

← Go back
TIL 1장. 깨끗한 코드
#clean_code
2년 전
1,832


TIL (Today I Learned)

2022.02.19

오늘 읽은 범위

1. 깨끗한 코드

책에서 기억하고 싶은 내용을 써보세요.

  • The only way to make the deadline – the only way to go fast – is to keep the code as clean as possible at all times (p.6)

  • Bjarne used the word “elegant.” That’s quite a word!......definitions: pleasingly graceful and stylish in appearance or manner; pleasingly ingenious and simple. (p.7)

  • Bad code tries to do too much, it has muddled intent and ambiguity of purpose. Clean code is focused. Each function, each class, each module exposes a single-minded attitude that remains entirely undistracted, and unpolluted, by the surrounding details.” (p.8)

오늘 읽은 소감은? 떠오르는 생각을 가볍게 적어보세요

  • 클린코드라는 개념은 개개인마다 다르지만 나쁜코드가 존재한다는것에는 모두 동의한다. 그러므로 나쁜코드가 무엇인지 생각해보고 나쁜코드에 해당되는 요소들을 줄이는 일을 하면서 좋은코드가 무엇인제 생각하고 해당요소를 늘리는 작업을 해야한다.

    많은 작가들의 좋은 코드가 무엇인가의 대한 정의는 조금씩 다르지만 공통적으로 좋은 코드는 simple, clean, orderly, readable, no duplication, and minimal 이라는 사실을 공유하고 있다.

궁금한 내용이 있거나, 잘 이해되지 않는 내용이 있다면 적어보세요.

  • N/A