Skip to content

Function, variable name rule (함수, 변수 이름 규칙) #67

@reyeon1209

Description

@reyeon1209
  1. Function name rule

    • Each word is separated by _(underbar).
    • Capitalize all first letters of a word.
    • So that you can clearly see what functions you are working with in order of 'verb words + noun words'.
       Build.
    • Example) Set_Game_Status ()
  2. Variable naming conventions

    • Each word is separated by _(underbar).
    • All words should be written in lower case.
    • Ex) int number_of_bombs

  1. 함수 이름 규칙

    • 각 단어는 _(underbar)로 구분한다.
    • 단어의 모든 첫 글자는 대문자로 작성한다.
    • '동사 단어 + 명사 단어'의 순서로 작성해 무슨 기능을 하는 함수인지 명확히 알아볼 수 있도록
      짓는다.
    • 예) Set_Game_Status()
  2. 변수 이름 규칙

    • 각 단어는 _(underbar)로 구분한다.
    • 모든 단어는 소문자로 작성한다.
    • 예) int number_of_bombs

Metadata

Metadata

Labels

rulesRules for the project

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions