Re:The bigger the interface, the weaker the abstraction
by jonahx on Sunday July 30, 2023 @02:28AM
(#36928442)
Here's some example C using one:
You read the from the file descriptor into the buffer. Just like in Go you read from a file into a byte array. Neither the file descriptor nor the file is conceptualized as a tool for reading. The file descriptor is merely an abstraction of the file, which extends the concept of "file" to include pipes, sockets, and other io.
[ Parent
| on HN ]
There are no comments on this comment yet.