본 repository는 2018년 서울시 앱 공모전에 출품될 안드로이드 기반 어플리케이션입니다.
- 사용자: [email protected] / pppppp
- 지킴이: [email protected] / test123
- 김선국 (기획 및 개발)
- 서호진 (개발)
- 박범민 (개발)
- 홍혜림 (디자인)
- 지킴이 : https://drive.google.com/open?id=1TXJiflGjir5CQG4wuzFS6AkClB5tGIhr
- 사용자 : https://drive.google.com/open?id=1JQUW-f8M7upYU6nT9kc3_XUmx6yOzjZ3
이 저작물은 크리에이티브 커먼즈 저작자표시-동일조건변경허락 4.0 국제 라이선스에 따라 이용할 수 있습니다.
- 0.1 파스칼 표기법(PascalCase)과 카멜 표기법(camelCase)과 스네이크 표기법(snake_case)을 사용한다.
- 0.2 약어 사용 시 클래스 시작 부분에 주석으로 표기한다.
- 0.3 반의어는 반드시 대응하는 개념으로 사용한다.
- 0.4 메소드 작성 후 메소드 바로 위에 메소드에 대한 설명을 주석으로 표기한다.
/**
* 결과 받아오기
* @param requestCode 요청 코드 * @param resultCode 결과 코드
* @param data 넘어온 데이터
*/
public void onActivityResult(int requestCode, int resultCode, Intent data) {}
- 0.5 소스 코드 관리는 github를 활용한다.
- 0.6 기능 구현은 feature 브런치에서 하고, 담당자가 develop 브런치에 merge한다.
- 0.7 중괄호 및 닫힘 태그는 코드 마지막에 붙인다.
- 0.8 반복문, 조건문 사용 시 반드시 중괄호를 사용한다.
- 0.9 들여쓰기는 탭을 사용한다.
- 1.1 com.seoul_app_contest.safe_friend 을 따른다.
- 1.2 소문자로만 작성한다.
- 1.3 한 단어의 명사를 사용한다.
com.seoul_app_contest.safe_friend com.seoul_app_contest.safe_friend.dto
- 2.1 파스칼 표기법을 따른다.
public class HelloWorld {}
- 2.2 의미에 따라 접미사를 붙인다.
public class UserDto {}
public class MapFragment {}
public class BusAdapter {}
- 3.1 카멜 케이스 표기법을 따른다.
void selectGuide() {}
- 3.2 속성에 접근하는 메소드는 접두사에 get/set을 사용한다.
void getUserId() {}
void setUserId() {}
- 4.1 카멜 케이스 표기법을 따른다.
- 4.2 메소드의 파라미터의 경우 데이터 타입과 같게 사용한다.
void getUser(UserDto userDto) {}
- 4.3 상수의 경우 대문자와 _를 사용한다.
private static final String TAG = “safe_friend”;
- 4.4 boolean 타입의 경우 접두사에 is를 사용한다.