holochain / org

Organizational Repo for project-wide tickets
http://holochain.org
11 stars 1 forks source link

Decide on Naming convention for Rust code #73

Open ddd-mtl opened 6 years ago

ddd-mtl commented 6 years ago

Also part of this discussion may include our casing decisions, i.e. camel, snake, kebab, etc: https://github.com/qerub/camel-snake-kebab

ddd-mtl commented 6 years ago

Rust API naming guidelines: https://github.com/rust-lang/rfcs/blob/master/text/0430-finalizing-naming-conventions.md

ddd-mtl commented 6 years ago

Rust fmt Guiding principles: https://github.com/rust-lang-nursery/fmt-rfcs

Rust Code style: https://github.com/rust-lang-nursery/fmt-rfcs/blob/master/guide/guide.md

zippy commented 6 years ago

Another thing to talk about: naming convention for libraries:

@neonphog used hc_dna and I followed suit with hc_api maybe hc_ prefix is redundant?

neonphog commented 6 years ago

My thought was that if we started publishing these individual modules to crates.io, we might want some identifying prefix... but I didn't want to keep typing holochain_ ... : )