Somewhat verbose, but I think that's ok for destructive operations that are expected to be used an order of magnitude more seldom than for instance plain indexing (->).
/ Niels Möller ()
Previous text:
2002-11-11 07:40: Subject: Re: More about ADTs
Possibly. I'm considering the inverse too: how confused would people be by a top-level command "delete" or "remove"? Either could easily be mistaken for a file operation too, if we are to consider all possible misunderstandings. :-)
Maybe it could be called "remove_element", "insert_element"?
/ Brevbäraren