holochain / holochain-proto

Holographic storage for distributed applications -- a validating monotonic DHT "backed" by authoritative hashchains for data provenance (a Ceptr sub-project)
http://holochain.org
GNU General Public License v3.0
876 stars 143 forks source link

CamelCase vs. SnakeCase in "dna.json" #494

Open sebastiandeutsch opened 6 years ago

sebastiandeutsch commented 6 years ago

It’s not very consistent when CamelCase or SnakeCase (or somewhat both) is applied:

"PropertiesSchemaFile": "properties_schema.json",

and

"SchemaFile": "sampleEntry.json",

You should write some rules what is your desired style. It will haunt you if you don't do this :-)

zippy commented 6 years ago

There are definitely some consistency problems throughout. Thanks for pointing it out. If you see others please add them to this ticket.

sebastiandeutsch commented 6 years ago

Sure. But what's the preferred style? CamelCase? snake_case? Go_Style?

zippy commented 6 years ago

I think: CamelCase for property names, snake_case.ext for file names, which is what I've done mostly, with some exceptions throughout... @lucksus?