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

[Add] Code Convention #1

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

[Add] Code Convention #1

wants to merge 4 commits into from

Conversation

HI-JIN2
Copy link
Member

@HI-JIN2 HI-JIN2 commented Oct 21, 2024

No description provided.

@HI-JIN2 HI-JIN2 self-assigned this Oct 21, 2024
Comment on lines +114 to +129
함수 주석의 위치

```kotlin
// 모든 주석은 함수 선언 바로 위에
fun foo(f: Any) {
...
}

/**
* 여러 줄일 경우에는
* 이 형식으로
*/
fun bar(b: Bar) {
..
}
```
Copy link
Member

Choose a reason for hiding this comment

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

함수 주석의 경우 모두 자바독으로 통일하는건 어떠신가요?
자바독을 사용하면 함수에 마우스를 대봤을 때 바로 설명을 볼 수 있다는 이점이 있을 것 같아서요!


## 함수 파라미터의 우선순위

- 1순위: 기본값이 없는 파라미터
Copy link
Member

Choose a reason for hiding this comment

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

여기에 람다의 경우 맨 밑에 넣도록 하면 trailling lambda 기법을 사용할 수 있을 것 같습니다!

Comment on lines +166 to +167
## 🚨 많은 파라미터 vs 객체 자체를 넘기기
- 논의가 필요합니다!
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

@giovannijunseokim giovannijunseokim left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 ~!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants