dwyl / dwyl/abase

naming convention for fields: lowercase_separate_by_underscores

Open
#24 1 comment 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
JavaScript
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Proposal:
- lowercase **_field names**_
- multi word names separated by underscores

Example:

``` js
var person = {
first_name: 'Emmit',
nick_name: 'The Special',
favourite_song: 'Everything is Awesome'
}
```

from reading a few SO questions no real "_consensus_" on this:
http://stackoverflow.com/questions/2029358/should-i-write-table-and-column-names-always-lower-case
http://stackoverflow.com/questions/11020646/should-underscores-be-used-in-column-names
http://stackoverflow.com/questions/1881123/table-naming-underscore-vs-camelcase-namespaces-singular-vs-plural

But we need to _agree_ on a _convention_ for our project(s)... Thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.