You know, I've always loved the "everything is a file" religion. That is, until I tried to actually create it in an environment[0].
Files, network connections, program interfaces, local IPC, and hardware are completely different, and that difference is important on about any interaction you make. They do have some common behavior, but one can't just make they look alike without losing a lot.
Files, network connections, program interfaces, local IPC, and hardware are completely different, and that difference is important on about any interaction you make. They do have some common behavior, but one can't just make they look alike without losing a lot.
[0] http://hackage.haskell.org/package/uniform-io