-
## 질문있어요 🙋♀️🙋♂️
질문은 아니고 피드백 주시면 감사하겠습니다~~!
## 📚 책
Lombok 관련, 책에는 나와있지 않고 강의에서만 언급된 내용입니다.
## 질문
Effective Java 책에서는 생성자의 매개변수가 많은 경우 Builder 패턴을 이용하여 해결하는데,
백기선 님 강의에서는 더 나아가 Lombok의 `@B…
-
I like Dr. Greger’s Daily Dozen because he has done _considerable_ medical/scientific research into it.
https://nutritionfacts.org/video/dr-gregers-daily-dozen-checklist-2/
https://nutritionfacts.…
-
## Background
[Kolibri](https://github.com/learningequality/kolibri) is primarily used in disconnected or low connectivity environments. In contrast to many offline platforms where error reporting ca…
-
The health benefits of consuming ginger: https://youtu.be/t77Ol2qaQlg (NutritionFacts.org)
-
`static 팩토리 메소드`와` public 생성자` 모두 매개변수가 많이 필요한 경우에 불편해진다.
클래스의 변수가 늘어날수록 조합해야하는 **생성자가 많아질 수 밖에** 없기 때문에 해결 하는 방법을 제시하는 아이템이다.
### 해결책 1: 생성자
-----
그리고 설정하고 싶은 매개변수를 최소한으로 사용하는 생성자를 사용해서 …
-
Static factories and constructors share a limitation: they do not scale well to large numbers of optional parameters. Consider the case of a class representing the Nutrition Facts label that appears o…
-
> Translation Team Question: Can the iOS Daily Dozen app work with a Persian calendar?
Yes, Daily Dozen version v3.2.1. was restructured to support language and regional localizations.
The Dail…
-
## **아이템 2 - 생성자에 매개변수가 많다면 빌더를 고려하라**
- 정적 팩터리와 생성자에 공통적으로 존재하는 제약
선택적 매개변수가 많을
때 적절히 대응하기 어렵다.
- ex)
식품 포장의 영양정보를 표현하는 클래스를 생각해보자. 영양정보는 1 회 내용량, 총 n회 제공량, 1 회 제공량당 칼로리 같은 필수 항목 몇 개와 …
-
https://youtu.be/h3c_D0s391Q
-
See link to menu.
http://www.cookout.com/wp-content/uploads/2015/11/Nutrition_WebsiteV2.pdf