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

[FEAT/#240] tendency intent 분기처리 #242

Merged
merged 8 commits into from
Mar 11, 2024

Conversation

chattymin
Copy link
Member

@chattymin chattymin commented Mar 9, 2024

⛳️ Work Description

  • 텍스트 분기처리
  • 프로필 버그 수정
  • 각종...버그수정....

📢 To Reviewers

  • 급하게 하느라고 코드가 조금 더러울 수 있습니다...
  • 지적해주시면 전부 다 고치겠습니다!

@chattymin chattymin added 동민 🐥 FEAT ✨ 새로운 기능 구현 labels Mar 9, 2024
@chattymin chattymin added this to the 2차 스프린트 milestone Mar 9, 2024
@chattymin chattymin self-assigned this Mar 9, 2024
Copy link
Member

@Marchbreeze Marchbreeze left a 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
Copy link
Member

Choose a reason for hiding this comment

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

로그 ~~~

Copy link
Member Author

Choose a reason for hiding this comment

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

헉 바보~

Comment on lines +67 to +69
const val TENDENCY = "TENDENCY"
const val PROFILE = "PROFILE"
const val QUARTER = "QUARTER"
Copy link
Member

Choose a reason for hiding this comment

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

분기처리 실력 ... 진짜 말안되긴 하네요 ... .. . . . .. . . . . .. . . . . 읽으면서 행복함
다만 더 요즘스타일 코드로 가려면 요 세 친구들은 const val 대신 enum으로 처리하면 더 깔끔할듯 !

Copy link
Member Author

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도 없애고 더 깔끔해질 것 같네요 :)
조언 채~고~~~~~~~

Copy link
Member Author

Choose a reason for hiding this comment

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

이 부분은 제가 요즘 공부하고있는 부분이 있어서 2차 스프린트 끝나고 리펙토링 기간 가지면서 적용해보도록 하겠습니다!

Copy link
Member

@leeeyubin leeeyubin left a comment

Choose a reason for hiding this comment

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

분기처리까지 너무 야무져요,,, 수고했습니당

Copy link
Contributor

@crownjoe crownjoe left a comment

Choose a reason for hiding this comment

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

분기처리 진짜 어케 이러케 깔끔하게...
코틀린스러운 코드들도 넘 잘 봤쑵니다 최고!!

@chattymin chattymin merged commit 4a48ed6 into develop Mar 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT ✨ 새로운 기능 구현 동민 🐥
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Tendency / 진입점에 따른 분기처리
4 participants