-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: main
Are you sure you want to change the base?
Conversation
함수 주석의 위치 | ||
|
||
```kotlin | ||
// 모든 주석은 함수 선언 바로 위에 | ||
fun foo(f: Any) { | ||
... | ||
} | ||
|
||
/** | ||
* 여러 줄일 경우에는 | ||
* 이 형식으로 | ||
*/ | ||
fun bar(b: Bar) { | ||
.. | ||
} | ||
``` |
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순위: 기본값이 없는 파라미터 |
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.
여기에 람다의 경우 맨 밑에 넣도록 하면 trailling lambda 기법을 사용할 수 있을 것 같습니다!
## 🚨 많은 파라미터 vs 객체 자체를 넘기기 | ||
- 논의가 필요합니다! |
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.
고생하셨습니다 ~!!
No description provided.