Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BYEONGRYEOL committed Jul 30, 2024
1 parent e105498 commit 8be5d19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

https://naver.github.io/hackday-conventions-java/

1. record 타입 사용시 해당 recood 타입을 사용할 때 new 대신 static method(of, from ...) 를 사용
2. record 타입 뿐만 아니라 모든 상황에서 new 키워드 사용 자제(자제 라는 단어가 convention과 어울리는지는 모르겠으나 추후 리팩터링할때 new 씨를 말릴겁니다.)

## commit convention
예시
Expand Down

0 comments on commit 8be5d19

Please sign in to comment.