That's one of the few times I've read about a proposed innovation "in the spirit of UNIX" that was not already present in the original UNIX or one of its descendants.
UNIX: Everything is a file.
=> A directory is a file.
Parent post: Everything is a directory.
A file is a directory.
I.e., a switch from "There are files and special files called directories that are handled differently." to the recursive definition "There are files, which are made up of 0..n files (blobs) and 0..n subdirectories" - so file versus directory is just a VIEW.
Makes sense & would make writing traversal code for files wiht internal structure much easier to read and write.
We Are Doing Files Wrong (2021)
(simonsafar.com)3 points by Expurple 5 hours ago | 2 comments
Comments
Makes sense & would make writing traversal code for files wiht internal structure much easier to read and write.