Organizing code at the file system level seems to be ingrained in every programmer but I really wonder if that is the best approach. The tree structure of files and folders don’t map well to code, which is ultimately a graph.
Conversation
Replying to
The same is said for note-taking. At least in code you do have some hierarchy (different services etc). Files that don't fit well in the hierarchy (e.g. utils) go in their own module, and are imported from top-level. That way you get organization in both breadth and depth
1
2
Replying to
Code has more structure than notes but there’s also a tendency to give different files and functions the same name (e.g. format, request).
I wonder what a roam-like approach to coding would look like. Jumping through functions would definitely be more efficient.
1
Or



