project-chip / rs-matter

Rust implementation of the Matter protocol. Status: Experimental
Apache License 2.0
303 stars 43 forks source link

Come up with and then apply a more consistent naming convention #173

Open ivmarkov opened 2 months ago

ivmarkov commented 2 months ago

Where I think our current naming convention (primarily for types and module names, but perhaps not only) is inconsistent:

The list can continue, and probably the first step would be to identify a set of names that need to be refactor-renamed, as well as a justification why.

Ideally, we should be consistent in our abbreviations, even if we won't overdo it by building a glossary (but consulting the internet and then using common abbreviations, like here and here should be mandatory).

I don't think we need to waterfallish-ly come up with a long list of identifiers for renaming and only then open a giant PR for that. Yet we should probably follow at least these two rules: