开发者

Is there a difference between "getting" an item and "fetching" an item?

When woul开发者_Go百科d a class method be called fetchItems() rather than getItems()? Is there a difference?

fetchImage() vs getImage() etc...


"Get" is usually considered a local action and involves little more than poking at memory. "Fetch" may involve reaching across the network to a remote server to access the resource.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜