4 ms·
The Reader is doing the reading. reader.Read(p); // reader, please read into this array The caller is obtaining the result of the read operation. --- What
by paulddraper 3y ago
The Reader is doing the reading.
reader.Read(p); // reader, please read into this array
The caller is obtaining the result of the read operation.
---
What mows a lawn? A person, or machinery?
In English, either can be referred to as a "lawn mover." However, most often "lawn mower" has the most direct meaning: the machine.
- jonahx 3y agoSee my reply here for the problems with that: https://news.ycombinator.com/item?id=36926392 https://news.ycombinator.com/item?id=36926392 EDIT: To elaborate my reply there tailored to your lawn mower example... > What mows a lawn? A person, or machinery? Yes, in this case the tool analogy matches real life (and your interpretation of Go interfaces as tools): I use a lawn mower to mow the lawn. My issue is that there isn't always a tool, but the Go worldview forces there to be one: What reads a book? A person, or a ...?