Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- FastAPI
- Service
- EC2
- AWS
- elasticsearch
- terraform
- 자바스크립트
- EKS
- IAM
- Django
- K8S
- DevOps
- POD
- IAC
- ansible
- Deployment
- AZURE
- Kubernetes
- docker
- dockerfile
- leetcode
- AZ-900
- Role
- Network
- AZ-104
- Python
- RBAC
- asgi
- ebs
- asyncio
Archives
- Today
- Total
궁금한게 많은 개발자 노트
Node.js convention 본문
참고 : google javascript style guide
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
style guide : 단순히 사용의 편의뿐만이 아닌 논리적인 근거를 가진 convention
ex) module import시 통일된 naming convention을 통해야 여러번 import하더라도 같은 일을 하게 됨
만약 같은 모듈을 abc, Abc, aBc라고 하면 같은 모듈을 import하더라도 여러번 load하게되고 다른 객체로 인식
(case insensitive하지만 접근시에는 case와 관계없이 import가 가능함) naming convention의 필요성
'Language' 카테고리의 다른 글
[ python ] asyncio (2) (0) | 2022.05.24 |
---|---|
[python] asyncio (1) (0) | 2022.05.23 |
Node.js npm, yarn, package.json (0) | 2022.04.07 |
Node.js require과 module, resolution (0) | 2022.04.07 |
자바스크립트 정규표현식 (0) | 2022.04.04 |
Comments