3 ms·
> A file should be a single stream of bytes with a name. If you need another stream of bytes, create another file. If you need to group them together, that's wh
by rtpg 2y ago
> A file should be a single stream of bytes with a name. If you need another stream of bytes, create another file. If you need to group them together, that's what directories are for.
While I understand the appeal of this, the world would have been a lot simpler for a lot of stuff if (for example) every text file had tagged its encoding.
I wonder about if we could have moved forward as society a touch faster if Unix wasn't "all byte streams", and had a touch of metadata.
I feel like HTTP and friends shows we can just organically end up with a certain kind of structure that "works" (and at one point you have a spec, and then you can yell at programs that don't follow the spec)
- userbinator 2y agoI wonder about if we could have moved forward as society a touch faster if Unix wasn't "all byte streams", and had a touch of metadata We would've "moved forward" faster into authoritarian proprietary walled-garden dystopia, yes.
- rtpg 2y agoI mean I'm just saying labeling text files with their encoding at the front would have been nice for decade or two where text readme files would be routinely garbled if you were in Europe or Asia and using machines that weren't configured properly