Re: [go-nuts] Remove vs Delete

2016-08-20 Thread Dave Cheney
Additionally in unix, where the name comes from, a file may have many names (many hard links to a directory entry) so remove in this case is removing a directory entry. Separately, when the link count of a file drops to zero, the file is now inaccessible as you cannot link to something that does

Re: [go-nuts] Remove vs Delete

2016-08-19 Thread Ian Lance Taylor
On Fri, Aug 19, 2016 at 3:51 PM, bep wrote: > > I had this discussion with another Gopher about the difference between Delete > and Remove. > > I found this definition which I agree on: > > "Delete and remove are defined quite similarly, but the main difference > between them is that delete mean

Re: [go-nuts] Remove vs Delete

2016-08-19 Thread asit dhal
In computer programming, remove means to remove some elements out of many elements. So, here you assume, there are many files in a container and when you you remove a file, one file disappears and others remain. The whole container remains the same. delete/erase means to wipe out something comp