coding-night-live icon indicating copy to clipboard operation
coding-night-live copied to clipboard

naming convention

Open juice500ml opened this issue 8 years ago • 11 comments

get/set --> remote/local camel / underscore / hypen

juice500ml avatar Feb 15 '17 07:02 juice500ml

Flake8 please

minhoryang avatar Feb 17 '17 00:02 minhoryang

09c0697af156e96b6173354cea9bfd673d929547

travis에서 확인할 수 있게 해두었어요.. 차근차근 고쳐볼게요!

punkyoon avatar Feb 26 '17 12:02 punkyoon

https://git-scm.com/book/ko/v1/Git%EB%A7%9E%EC%B6%A4-Git-%ED%9B%85 travis 말고 git hook이 낫지 않을까싶습니다!

juice500ml avatar Feb 26 '17 15:02 juice500ml

http://stackoverflow.com/questions/1837681/pre-commit-hook-for-jslint-in-mercurial-and-git 도 쓰죠!

juice500ml avatar Feb 26 '17 15:02 juice500ml

flake8에서 잡혔던 문제는 다 해결했고, 변수 이름 / 메소드(or함수) 이름 / 클래스 이름 짓는 법만 맞추면 될 듯 합니다.

punkyoon avatar Mar 02 '17 15:03 punkyoon

Python

  • 변수 이름 ; underscore
  • 메소드(함수) 이름 ; underscore
  • 클래스 이름 ; Camel
  • 파일 이름 ; underscore

Javascript

  • 변수 이름 ; underscore
  • 메소드(함수) 이름 ; underscore
  • 클래스(네임스페이스) 이름 ; Camel
  • 파일 이름 ; underscore

punkyoon avatar Mar 12 '17 06:03 punkyoon

HTML이랑 CSS도 잡아야 합니다 ㅋㅋ

juice500ml avatar Mar 12 '17 07:03 juice500ml

앜ㅋㅋㅋㅋ 이게 그거구나ㅋㅋㅋㅋ

minhoryang avatar Mar 12 '17 11:03 minhoryang

@juice500ml 나머지는 광희가..정하는걸로..!

punkyoon avatar Mar 12 '17 13:03 punkyoon

front쪽은 angluar/react 정해지면 그 스타일대로 가겠습니다~

juice500ml avatar Mar 12 '17 14:03 juice500ml

https://github.com/dduk-ddak/coding-night-live/blob/master/manage_room/views.py#L16

제가 위에서 정한 기준에 안맞아요...★ 집에가서 수정할게요.

punkyoon avatar Jul 20 '17 07:07 punkyoon