Ask HN: Good Taxonomy Naming Conventions?
Do you struggle with naming things, or have methods for handling this? I find what is most helpful is to use an analogy with a well defined hierarchial taxonomy. For instance:
- A stick figure has a head, a body, feet, arms - much like the DOM has a header, body, footer, and asides. Arms have fingers, feet has toes, much like there are footer links and aside widgets.
These examples could be either found in nature or just well established in society. What I am looking for is taxonomy hierarchial examples that could be used in any application, that aren't namespaced already. Examples for class inheritance is (animal → dog).
------------------------------------------------------------------
Other applications relative to naming:
- CSS classes, and their hierarchial relationships
- Designing a CSS framework & its naming conventions
- Functions, variables, classes, etc for frontend or backend
- Defining different UX webcomponent names and their hierarchial relationships
- Defining keyword definitions document for larger projects, both from the users & developers standpoint
- Designing endpoint documentation for REST API's
- Writing technical documentation with actual relateable examples (without using the word foo or bar)
------------------------------------------------------------------
What are examples you use?
Do you use these principles in your codebase?