-
추상 팩토리 패턴을 구현했는데 책과 저의 구현이 달라서 장단점을 비교해봤습니다!
Q. 어떤 구현이 더 나은지 모르겠습니다..
[ 코드의 달성 목적 ]
- 미국의 지역별로 피자에 들어가는 원재료가 다른 상황.
- 원자료 객체를 생성하는 행위를 캡슐화하여(Factory) PizzaStore 객체와 분리하고자 함.
**[ 장단점 비교 ]*…
-
-
I have this shell script which uses the Confluent CLI to delete all subjects in a concurrent fashion:
```bash
#!/usr/bin/env bash
delete_subject() {
echo "Soft deleting subject $1"
conf…
-
In the future try not to have boolean arguments on methods nor constructors. They are very confusing and usually result in running whole different method depending on the value of the boolean variable
-
## 객체 지향의 원칙
1. 바뀌는 부분은 캡슐화 한다.
2. 상속보다는 구성을 활용한다.
3. 구현보다는 인터페이스에 맞춰서 프로그래밍 한다.
4. 상호작용하는 객체사이에서는 가능하면 느슨한 결합을 사용해야한다.
5. 클래스는 확장에는 열려 있어야 하지만 변경에는 닫혀있어야 한다. (OCP)
6. 추상화된것에 의존하게 만들고 구상 클래스에 …
-
- 스터디 기간 : 4월 27일 ~ 5월 1일
- 스터디 날짜 : 5월 2일
- 범위 : 이펙티브 자바 아이템1
-
## 🚀 Feature Proposal
When an unexpected exception is thrown inside a test (or `beforAll`, etc.), print to the console all own enumerable properties of the error, not just the message (and the …
-
---
eip: ERC 1257
title: Proof of Payment (POP) Standard
author: Victor Tran, and Yaron Velner (and future others)
status: Draft
type: ERC
category ERC
created: 2018-07-25
---
# Proof of P…
-
# 챕터
1-2장 스프링 소개 및 스프링 시작하기 (#3)
# 내용 요약
## 의존성
[참고 강의](https://www.youtube.com/watch?v=dJ5C4qRqAgA)
- 설계
- 코드를 어떻게 배치할 것인지 → 어떤 패키지에, 어떤 프로젝트에, 어떤 클래스에 어떤 코드를 넣을지
- 그러한 설계 과정에서 **변경에…
-
My system is ubuntu20.04 and my typora version is 0.9.96 (beta). When I created a classDiagram with dependency relationship use `..>`, it displayed just liked the Association relationship which is `--…