-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
summary
- 변수 할당 시 type을 명시하여 코드 가독성 향상
- 단순 변수 할당의 경우 별도 타입 명시를 하지 않고, 메서드 반환값을 변수에 할당하는 경우 타입 명시
e.g.
val tomorrow = LocalDate.now(KOREA_ZONE).plusDays(1) // 타입 명시 X
/** 변수를 할당하는 경우 명시적으로 타입 잓성 **/
val command: GetPoseCommand = commandConverter.toGetPoseCommand(userId, poseId)
val result: GetPoseResult = getPoseUseCase.execute(command)
val response: GetPoseResponse = resultConverter.toGetPoseResponse(result)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels