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# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -