Something I've been wondering about recently is how to organize types in directories/namespaces w.r.t. their dependencies.One method I've seen, which I believe is the recommendation for both Haskell and .NET (though I can't find the references for this at the moment), is:TypeType/ATypeThatUsesTypeType/AnotherTypeThatUsesTypeMy natural inclination, however, is to do the opposite:TypeType/ATypeUponWhichTypeDependsType/AnotherTypeUponWhichTypeDependsQuestions:Is my inclination bass-ackwards?Are there any major benefits/pitfalls of one over the other?Is it just something that depends on the application, e.g. whether you're building a library vs doing normal coding?
Type dependencies vs directory structure
libraries;organization;dependencies