- Is better to write code that does not need comments - T
- We write comments when we fail to communicate using only our code - T
- We should try to minimize comments as much as possible by writing better code. - T
- The best place to find information about the code is should be the code itself rather than comments - T
- Where should we declare our variables in a function? - At the top of the function.
- If one function calls another, they should be vertically close. - T
- A function that is called should be below a function that does the calling. -T
- What does DTO mean? - Data Transfer Object
- When do we use DTOs? -When working with DBs or parsing WebSocket messages.
- Objects expose functions to operate in their data. - T
10가지 문항으로 중간 점검을 해봤는데 나의 경우 클린코드를 한글 번역본을 읽고 있는데 영어로 바꿔서 생각하고 문제를 풀어보니 확실히 나는 한글이 영어보다 편하다는걸 느꼈다. 아무래도 영어로 접할수있는 정보가 많기 때문에 영어로 배우고 익히는게 더 유리할수 밖에 없는 것 같다. 우선은 시작단계이니까 기본적인 사항들은 한글로 배워서 어느정도 가닥을 잡고 차후 영어로 복습겸 다시 공부하는 방식으로 프로그래밍 공부를 해야겠다.
'개발 외의 것들 > 책을읽읍시다.' 카테고리의 다른 글
[TIR]cleancode 7,8,9 중간점검 (0) | 2022.02.09 |
---|---|
[TIR]cleancode 9. 단위 테스트 (0) | 2022.02.06 |
[TIR]cleancode 7.오류 처리 (0) | 2022.02.02 |
[TIR] cleancode 6.객체와 자료구조 (0) | 2022.02.01 |
[TIR]cleancode 5.형식 맞추기 (0) | 2022.01.31 |