"노개북" 노마드 개발자 북클럽 13일차!!
#코딩 #개발자 #노마드북클럽 #노개북 #노마드챌린지 #클린코드 #3주스케쥴
월 | Assignment #13
- 📚 복습
- ✔️ 퀴즈 Quiz (2)
QUESTION 1
What is better, to throw Exceptions or return error codes?
>Exceptions
QUESTION 2
When should we write try/catch/finally?
>First, before we write any code.
QUESTION 3
What kind of information should our error messages have?
>The operation that failed, type of failure, more information about the error.
QUESTION 4
Why shouldn’t we return ‘null’ from methods/functions?
>We might forget to check for null and can easily have null pointer exceptions.
QUESTION 5
Is passing ‘null’ as an argument a good practice?
>No
QUESTION 6
Having dirty tests can be worse than having no tests at all.
>True
QUESTION 7
Test code is as important as production code.
>True
QUESTION 8
How many concepts should a test function test?
>One
QUESTION 9
Should tests depend on each other
>No
QUESTION 10
What output should a test have?
>Boolean
'개발자 필독도서 리뷰' 카테고리의 다른 글
[노개북] "클린코드" 챌린지 15일차 (0) | 2022.03.10 |
---|---|
[노개북] "클린코드" 챌린지 14일차 (0) | 2022.03.09 |
[노개북] "클린코드" 챌린지 12일차 (0) | 2022.03.06 |
[노개북] "클린코드" 챌린지 11일차 (0) | 2022.03.03 |
[노개북] "클린코드" 챌린지 10일차 (0) | 2022.03.02 |