language agnostic - Delete and return in a single verb? -


imagine function deletes cookie , returns value.

what call if have use single verb?

i called clear i'm not fond of name.

it sounds similar pop, except pop typically acts on last element in collection. perhaps extract suitable name?


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -