위로 아래

코드 컨벤션

코드 컨벤션 (code convention)

  1. 코드를 작성할 때 프로그래머 사이에서 정한 코딩 스타일 규약
  2. 가독성을 위해 사용
  3. 일관성 있는 코드 스타일을 유지할 수 있다
  4. 유지보수할 때 효율성이 높다

 

 

 


코드 컨벤션 가이드

 

네이버 - 캠퍼스 핵데이 Java 코딩 컨벤션

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

 

캠퍼스 핵데이 Java 코딩 컨벤션

중괄호({,}) 는 클래스, 메서드, 제어문의 블럭을 구분한다. 5.1. K&R 스타일로 중괄호 선언 클래스 선언, 메서드 선언, 조건/반복문 등의 코드 블럭을 감싸는 중괄호에 적용되는 규칙이다. 중괄호

naver.github.io

 

 

 

구글 - Google Java style guide

https://google.github.io/styleguide/javaguide.html

 

Google Java Style Guide

1 Introduction This document serves as the complete definition of Google's coding standards for source code in the Java™ Programming Language. A Java source file is described as being in Google Style if and only if it adheres to the rules herein. Like ot

google.github.io

 

 

 

구글 - 번역 블로그 

https://velog.io/@ozragwort/rule-Google-Java-Style-Guide-%EC%9A%94%EC%95%BD-%EB%B2%88%EC%97%AD

 

[JAVA] Google Java Style Guide 요약 번역

이 글은 Google Java Style Guide의 내용을 번역하여 핵심만 정리한 글이다.

velog.io

 

 

 

오라클 - code convention for the Java

https://www.oracle.com/java/technologies/javase/codeconventions-contents.html

 

Code Conventions for the Java Programming Language: Contents

The information on this page is for Archive Purposes Only This page is not being actively maintained. Links within the documentation may not work and the information itself may no longer be valid. The last revision to this document was made on April 20, 19

www.oracle.com