What is the word for "enable / disable"?

When I want to comment on the Enable / Disable control code and when I want to discuss with people about the Enable / Disable control, I really hope that there is actually a word instead of typing or saying โ€œEnable / Disableโ€.

I am currently using the word EnDisable, what is its true word?

+48
terminology naming-conventions
Mar 30 '10 at
source share
5 answers

I would suggest using "toggle", since although this does not mean that Enable / Disable is usually used as such in the context of user interfaces (as @Pekka mentioned).

+55
Mar 30 '10 at 11:13
source share
โ€” -

It really depends on the context.

  • Change in management status?
  • Switching?
  • Change?

Update: @Yacoby has the perfect option, it is widely used in user interface contexts.

+10
Mar 30 '10 at 10:33
source share

I use "Ability" because if something is "turned on", it is "capable", and if it is "turned off", it is "incapable", so "ability" works for me, and this is understandable. To switch the parameter, I call my function "setAbility".

+4
Jan 13 '15 at 9:07
source share

If I write functions that activate or deactivate something depending on some other data, I usually call them "ToggleXXX".

+3
Mar 30 '10 at 10:44
source share

It depends on the context. If you mean a life support system, probably Kill.

0
Mar 30 '10 at 12:31
source share



All Articles