As a programmer I've run into the issue of what to name the opposite of the "set parameter" function.

Unset is the only word I can think of, but it feels very clunky.

It would be used in "/word/ Parameter" to mean opposite of "set Parameter"

I am interested in opposites even if they are unfit for programming use due to their rare usage.

closed as unclear what you're asking by Scott, NVZ, Helmar, user66974, tchrist Nov 6 '16 at 12:33

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Many languages/tools use unset. Remove is also used. Delete is most common. – jimm101 Nov 4 '16 at 23:25
  • As a programmer you should contemplate more on logic than language. 'Remove Parameter' would be most appropriate. – ukhardy Nov 4 '16 at 23:33
  • @ukhardy I agree, I think I won't find a more usable thing than unset/remove, but I am interested in general non-programming solutions too. – akaltar Nov 4 '16 at 23:38
  • 2
    It depends on what you mean. In many cases you cannot "unset" a program entity once it's been "set" -- all you can do is set it to a different value. In other cases you may be using "set" inappropriately, as what you are really doing is "attaching" or "connecting" a value to the entity, and the reverse is to detach/disconnect it. – Hot Licks Nov 4 '16 at 23:48
  • @HotLicks Wow... Haven't thought of that.. Now it seems attach and detach are much better for the problem at hand. – akaltar Nov 4 '16 at 23:51

One possible term is Clear.

It has been used on Stack Overflow to mean the opposite operation to setting a flag, a related programming construct. For example, consider this answer from @NedBatchelder :

...to clear a few flags...

Not the answer you're looking for? Browse other questions tagged or ask your own question.