# 2021-05-22(Sat)

## Facts (사실, 객관)

* 코드숨 3주차 테스트 리팩토링을 진행하였다.
* 노션에 업데이트된 내용을 슬랙으로 알림 보낼 수 있도록 하기 위해, 슬랙 API와 노션 API를 연구해보았다.

## Feelings (느낌, 주관)

* 뭔가 하나를 제대로 하는 것은 쉬운 일이 아니라는 것을 다시금 느꼈다. 테스트 코드를 '잘' 작성하려면 신경써줄 것이 많기 때문. 실험을 잘 설계해야하고, 수학 공식을 증명하듯 테스트된 코드를 쌓아나가고, 의존성까지 관리해야한다. 잘 작성할 수 있도록 노력해야겠다.
* 해야할게 너무 많아서 아내만 등산을 보낸게 좀 미안하다.

## Findings (배운 점)

* java에서 pair 타입은 표준 라이브러리에 포함되어있지 않다. 직접 구현해서 쓰던가 `Abstract.SimpleEntry`를 활용하자.
  * [참고1](https://ramees.tistory.com/56)
  * `for` 문에 대해서 Iterable 인터페이스를 구현하지 않은 경우에도 `for-each` 문을 쓸 수 있는 것이 의문스러웠는데, 컴파일러가 일반적인 `for` 문으로 번역해줘서 가능하다는 것을 알게 되었다.
    * [참고](https://woowacourse.github.io/javable/post/2020-08-31-java-loop/)
    * `기존` 이라는 단어가 얼마나 모호한지 깨달았다.
    * java에서의 for문의 종류와 각각의 활용 방법을 알게 되었다.
    * lambda Atomic Type에 대해서 학습하였다.

## **Affimation (자기 선언)**

* 뭘 모르는지 알고, 제대로 알아내는 사람이 된다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://injun-woo30000.gitbook.io/growth-log/daily-review/2021/may/2021-05-22-sat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
