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

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

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

openssl - Load PKCS#8 binary key into Ruby -