MY

code style

hamaganatanadda 2023. 8. 5. 11:56

" 사용

class= 공백 없음

font-family는 예외로 ' 사용 "는 사용불가

html space 2

javascript space 2

java space 4

<a class="maia-button maia-button-secondary">Sign in</a>

html {
  font-family: 'open sans', arial, sans-serif;
}
let count = 1;
if (true) {
  count += 1;
}
if (exp == null) {
    return false;
}

for (char ch : exp.toCharArray()) {
    ....
}

google java

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

 

google html

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

 

Google HTML/CSS Style Guide

Google HTML/CSS Style Guide Background This document defines formatting and style rules for HTML and CSS. It aims at improving collaboration, code quality, and enabling supporting infrastructure. It applies to raw, working files that use HTML and CSS, incl

google.github.io

google javascript

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

 

Google JavaScript Style Guide

Google JavaScript Style Guide 1 Introduction This document serves as the complete definition of Google’s coding standards for source code in the JavaScript programming language. A JavaScript source file is described as being in Google Style if and only i

google.github.io

naver javascript

https://github.com/naver/eslint-config-naver/blob/master/STYLE_GUIDE.md

 

naver java

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

 

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

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

naver.github.io

 

'MY' 카테고리의 다른 글

참고용 링크  (0) 2023.09.10
thread processing  (0) 2023.08.21
Substring  (0) 2023.07.22
ajax 엑셀 다운  (0) 2023.05.13
내가 보는 잡다한 기록  (0) 2023.04.29