-
Notifications
You must be signed in to change notification settings - Fork 0
park-yina/kotling-convention-study
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
▢패키지 파일은 소스파일 아래->하위 디렉토리에 속한 파일들은 하위 디렉토리 내의 소스루트에
▢코틀린과 자바 동시 사용시, 코틀린과 자바의 소스파일은 같은 소스루트 가져야
▢클래스의 이름과 파일명을 통일시켜주기
▢파일명은 코드의 역할을 표현하기 위해 뭉뚱그려쓰기보단 디테일하게 써야
▢프로퍼티(속성)의 선언과 초기화 블록->보조생성자->메소드선언->동반객체
▢알파벳 순 등의 배치가 아니라 논리적 순서에 의거한 배치가 되어야
▢코틀린의 소스파일들은 관계성에 의한 배치가 포인트
->비합리적인 정도의 크기일 경우 나눌 수도 있음. 그러나 원칙적으로는 서로 밀접한 관계의 선언들은 같은 소스파일 내에 배치 권장
About
코틀린 컨벤션을 해석하고 공부하는 레포입니다.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published