we/dnt/wnt/to/rd/ths. However, a URI following the typical Linux directory naming conventions is short and effective. So, we at eons aim to maximize the number of distinct folders while minimizing the amount of work to follow a URI.

3 letter directory names are preferred, unless the full word is 4 letters and makes sense to use (e.g. “test” is preffered over “tst”).

If 3 letters are not enough to distinguish on path from another, it is best to spell out the full word. For example, if you have personal photos stored along side operating system disc images, the directory “img” becomes ambiguous. Thus, instead of “img” and “pic”, it would be better to use “os-images” and “photos”. For more info on descriptive naming conventions, see this post: https://eons.llc/convention/naming/.

When creating directories for groups, use a singular label, such that the URI reads /thing/something and not /things/something.

A typical source tree for a software project contains:

  • build – for temporary build files and products
  • src – source code
  • lib – library files
  • inc – include files
  • dep – dependencies