Suppose I have two directories: house-1
and house-2
. Each house directory needs to have files describing its windows and doors.
I am trying to understand how to name the files and directories. My current two options are:
house-1
windows.txt
doors.txt
house-2
windows.txt
doors.txt
or
house-1
house-1-windows.txt
house-1-doors.txt
house-2
house-2-windows.txt
house-2-doors.txt
I can see advantages and disadvantages to both of them and am trying to decide which is the better option (or if something else is better too). What should I consider when designing a filename structure such as this?
.../house/1/windows
. There is a notion of a full path name for each resource, and there probably shouldn't be redundancies within a path name (e.g. repeating the word house in a pathname).