I had this discussion with another Gopher about the difference between 
Delete and Remove.

I found this definition which I agree on:

*"Delete <http://dictionary.reference.com/browse/delete>* and *remove 
<http://dictionary.reference.com/browse/remove>* are defined quite 
similarly, but the main difference between them is that *delete* means 
*erase* (i.e. rendered nonexistent or nonrecoverable), while *remove* 
connotes *take away and set aside* (but kept in existence)."


Translated to computer terms, remove would be to flag it/hide it, while 
delete would be to delete it from disk/erease it.

But then he mentioned:

https://golang.org/pkg/os/#Remove

I don't expect the os.Remove* funcs to ever be renamed, but wouldn't it be 
more precise if they were named os.Delete etc.?

bep

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to