Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N naming-conventions
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Kamolpop Kuadsantia (ไอซ์)
  • naming-conventions
  • Wiki
  • Home

Home · Changes

Page history
kamolpop created page: home authored Mar 14, 2016 by Kamolpop Kuadsantia (ไอซ์)'s avatar Kamolpop Kuadsantia (ไอซ์)
Show whitespace changes
Inline Side-by-side
home.markdown
View page @ e2f1c1f6
......@@ -69,6 +69,12 @@ Class name
Function name
-------
#### Pick One Word per Concept ไม่ใช้คำหลายๆคำที่มีความหมายเดียวกันเช่นฟังก์ชั่นที่ใช้ดึงค่า ควรมีการตกลงกันว่าเป็นคำใดคำหนึ่งเช่น
```
function getWingsColor() {
...
}
```
#### Function ที่ return boolean ให้ขึ้นต้นด้วย is, has เช่น
```
......@@ -116,7 +122,5 @@ foreach ($birds as $bird) {
}
```
#### Pick One Word per Concept ไม่ใช้คำหลายๆคำที่มีความหมายเดียวกันเช่นฟังก์ชั่นที่ใช้ดึงค่า ควรมีการตกลงกันว่าเป็นคำใดคำหนึ่ง fetch, retrieve, get
#### Reference
[Naming conventions for electronic document](https://www.st-andrews.ac.uk/media/business-improvements/recordsmanagement/documents/NamingConventionsV01.pdf)
\ No newline at end of file
Clone repository
  • Home