English Language & Usage Asked by whirlwin on April 26, 2021
I am looking for a word that can describe the act of adding/removing objects but at the same time avoid a word that has to do with updating.
So, given
I want a word for ((1 and 2) and not 3). So I guess words like alter won’t do.
Edit: I am actually making an application, and I have three methods; adding, removing and updating. But there is some logic in both the adding and removing that is common. I then decided to make a fourth (helper) method. That’s why I need this word so badly.
A class containing a collection of immutable objects might be a stack, where you push items in and pop them out. But if PushPop()
doesn't do it for you, how about something like shift, with the implication that you can shift items onto or off of the stack.
Correct answer by Ed Guiness on April 26, 2021
If this is about method naming, then you really don't need a bona fide English word. You can construct your own hybrid. The obvious one that comes off the top of my head is
addOrRemoveObject()
but you should feel free to use whatever fits with your naming convention.
Answered by Robusto on April 26, 2021
What about to substitute?
According to the OALD, it means "to take the place of somebody/something else; to use somebody/something instead of somebody/something else".
Or also to replace, "to be used instead of something/somebody else; to do something instead of somebody/something else".
Answered by Alenanno on April 26, 2021
When you are adding, removing, and altering objects in a list, are you not "editing" that list?
Answered by Pete Wilson on April 26, 2021
I believe the term you're looking for is "Absolute Value". If you add $40K and delete $20K, then your absolute value is $60K.
Answered by Aleta Wolf on April 26, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP