Welcome. You correctly understood the indentation approach.
- If you simply want something that simply works well-enough for simple cases, there is not much difference (though read @kitsu_bash’s post).
- I would still prefer the indentation approach, for being compatible with every hierarchical system out there, if I ever need to use one.
- However, hierarchies are a weak system for things that are not strictly hierarchical.
- It is possible to create recursive queries, but not simple.
- Imagine:
- a subproject that belongs to more than one major project
- pages that participate to multiple independent hierarchies, beyond the belong-sub relationship
- With namespaces, you are not even allowed to imagine, as you are stuck in a fixed structure.
- With indentation, you can copy the subproject under multiple parents, because it is a mere link.
- Better tools inspire the imagination for more powerful things, that better represent both our mind and reality.
- An ongoing effort: Generate explicit hierarchy out of properties