객체지향 프로그래밍에 대한 체크포인트 퀴즈를 풀었다. 정답률이 60%밖에 되지 않았다. 풀이 시간에 설명해주신 Premitive Value 와 Reference Value 에 대한 이해가 조금 더 필요하겠다. Premitive vs Reference values ( === 의 사용)
자바스크립트에서 변수는 Premitive values 와 Reference values 저장될 수 있는데, 6가지의 Premitive type : number, string, boolean, undefined, null, symbol 와 1가지의 Reference type: object가 있다.
If the value is a primitive value, when you access the variable, you manipulate the actual value stored in that variable. In other words, the variable that stores a primitive value is accessed by value. ---> 값에 바로 저장된다.
Unlike a primitive value, when you manipulate an object, you work on the reference of that object, rather than the actual object. It means a variable that stores an object is accessed by reference. ---> 레퍼런스 할 수 있는 오브젝트에 접근할 수 있게 된다.
Rest Parameter , Spread Operator , arguments
Debugger 사용이 어색하다. 잘써야 좋은 개발자라고 하니 막히는 부분이 있으면 써보는 훈련을 해야겠다.
어제에 이어 Test Builder를 페어프로그래밍으로 진행했다. step 3까지는 아는 개념 총동원 + 구글링으로 어떻게든 성공시키기는 했지만 step 4 부터는 거의 4시간 동안 진전이 없다가 끝나버렸다. for loop을 사용해야 할 거 같긴 했는데 아예 접근을 어떻게 할지부터 막막했던 것 같다. 머리가 맑을 때 다시 풀어봐야지. 헬프데스크에 질문을 처음으로 남겼다. 바보같은 질문이 아니었으면 좋겠는데.