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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -