Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: Added TimeConstants class #22

Merged
merged 1 commit into from
Dec 29, 2024
Merged

Conversation

koreanMike513
Copy link
Collaborator

@koreanMike513 koreanMike513 commented Dec 28, 2024

말씀해주신 대로 FoodRepository에 있던 시간 변수를 다른 클래스에 상수 타입으로 선언했습니다.

ps. 우선은 String 과 Integer 로 다르게 선언된 상수 시간 변수들이 있을 것이라고 가정하고 따로 만들었는데 이걸 합치는 게 좋을까요?
아니면 기존 대로 따로 두는 게 좋을까요? 합쳐서 다른 String 과 Integer를 같이 묶어둘 수 있는 nested class 를 만드는 것 까지 생각해봤는데 아무래도 복잡성이 더 증가한다고 생각해서 일단은 따로 만들어봤습니다.

@koreanMike513 koreanMike513 added the enhancement New feature or request label Dec 28, 2024
@koreanMike513 koreanMike513 self-assigned this Dec 28, 2024
- added TimeConstants class
- updated FoodRepository with new import statements
@koreanMike513 koreanMike513 force-pushed the update/add-time-constants branch from 68bd4ab to cb67290 Compare December 28, 2024 22:35
Copy link

@f-lab-troy f-lab-troy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

추후 복잡성이 확인 되기전까진 상수 클래스
하나만 만들어 사용하시다가 추후 분리 시켜도 괜찮습니다.

@koreanMike513 koreanMike513 merged commit 58be4df into main Dec 29, 2024
1 check passed
@koreanMike513 koreanMike513 deleted the update/add-time-constants branch January 9, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants