Hierarchy doesn’t make sense if you care about multiple dimensions, which I often do with notes.
Sometimes I want to look at all notes relating to c++, sometimes everything related to a personal project. Directories don’t support that without symlinking everything that mentions c++ into a folder for that.