Skip to content

하드코딩 constants로 빼기 #841

@publdaze

Description

@publdaze

리팩토링 요약

  • 객체를 사용하되, 객체 자체에 as const 를 붙인다.
  • 객체 아닌 단순한 값의 경우 as const는 제외한다.
  • 객체 자체는 UPPER_SNAKE_CASE로 내부 속성은 camelCase
  • 파라미터 값만 사용된다면 상수로, 추가적인 기능이 들어간다면 함수로 분류하기
  • 노션 정리

리팩토링 파트 분배

Metadata

Metadata

Labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions