dwyl / abase

:house: A (solid) Base for your Web Application.
9 stars 0 forks source link

naming convention for fields: lowercase_separate_by_underscores #24

Open nelsonic opened 7 years ago

nelsonic commented 7 years ago

Proposal:

Example:

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?

jrans commented 7 years ago

@nelsonic from my few experiences 🐍 case is indeed used