-
Notifications
You must be signed in to change notification settings - Fork 2
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
[FEAT/#240] tendency intent 분기처리 #242
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
동민이한테 훈수두던 그 시절이 그립다 .. .. .. . . . . . . . . . . . . . . . . . . . . . . . . ...... . . ..
@@ -1,5 +1,6 @@ | |||
package com.going.presentation.onboarding.signup | |||
|
|||
import android.util.Log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
로그 ~~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
헉 바보~
const val TENDENCY = "TENDENCY" | ||
const val PROFILE = "PROFILE" | ||
const val QUARTER = "QUARTER" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
분기처리 실력 ... 진짜 말안되긴 하네요 ... .. . . . .. . . . . .. . . . . 읽으면서 행복함
다만 더 요즘스타일 코드로 가려면 요 세 친구들은 const val 대신 enum으로 처리하면 더 깔끔할듯 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QUARTER는 분기처리를 하는게 아니라 Intent의 Key로 넣어주는거라 enum으로 묶는건 안맞을것 같습니다!
하지만 Tendency랑 Profile은 Enum으로 묶어준다면 when문 내부 else도 없애고 더 깔끔해질 것 같네요 :)
조언 채~고~~~~~~~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분은 제가 요즘 공부하고있는 부분이 있어서 2차 스프린트 끝나고 리펙토링 기간 가지면서 적용해보도록 하겠습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
분기처리까지 너무 야무져요,,, 수고했습니당
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
분기처리 진짜 어케 이러케 깔끔하게...
코틀린스러운 코드들도 넘 잘 봤쑵니다 최고!!
⛳️ Work Description
📢 To Reviewers