3

So I'm programming something, and it has the property to be toggled. Now I want to enable or disable this property. In other words, I want to toggle the toggle property.

This property, whether or not something can be toggled, should it be called 'Togglable' ? If not, what should I call it?

closed as off-topic by MetaEd, RegDwigнt Oct 22 '13 at 13:46

  • This question does not appear to be about English language and usage within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Off topic (variable naming is off topic: see the help center). – MetaEd Oct 22 '13 at 13:04
  • @MετάEd It's not about variable naming.. I asked if togglable was an English word, to be used in the context of programming.. To clarify my question, I gave some context, and jmadsen understood this context and responded to that. Though the main question remains: Is togglable an English word ;) – Jochem Kuijpers Oct 22 '13 at 16:31
  • @JochemKuijpers As you said, the question remains. I submit that you should un-accept jmadsen's answer - the fact that the question accepts that answer is fundamental in the question's closure. If not for that, I would vote to reopen. (That and the fact that I don't have the rep for it. ;) – Dan Henderson Sep 25 '18 at 16:00
  • @DanHenderson imo, the word toggleable (or togglable) appears enough for it to be considered a valid word. There's no ambiguity what the word means, so if you want to use it; go for it. If you want to know whether some authority accepts it as an English word, you know where to look. This question is closed as off-topic 5 years ago, so feel free to start a new question that isn't off-topic. Besides that, the accepted answer is what I considered a good answer at the time, so I don't see any reason to change it. – Jochem Kuijpers Sep 26 '18 at 11:24
-1

As a fellow programmer, I would call it "can_toggle" :-)

  • Great, that was exactly what I was looking for. Thank you very much! Can't believe I couldn't figure this one out myself :# – Jochem Kuijpers Oct 22 '13 at 11:23
  • 3
    This answers the Off Topic question "What should I call this program variable?", rather than the valid ELU question "What adjective describes this quality?" – FumbleFingers Oct 22 '13 at 12:33
  • can*+verb is not the same as verb+*able -- this also has been discussed in an earlier post on SE in the programming context. Use the former when that's what you mean and later otherwise. Both can_toggle and toggleable are already in use in programming. – Kris Oct 22 '13 at 13:57
  • @FumbleFingers There's (incidental) relevance to the English language here -- see comment above. – Kris Oct 22 '13 at 13:57
6

Adding -able to transitive verbs is still a fairly productive process in today's English.

Since toggle is a transitive verb, you should be able to form toggleable (meaning "able to be toggled") and be understood, even if the reader has never seen the word before. There are lexical exceptions which -able doesn't usually attach to (beware, want, loathe, etc.) but I don't believe toggle is one of them.

When you add -able, the syllablic /əl/ in toggle is likely to become a regular /l/, becoming the onset of the following syllable. This is called syncope and is sometimes reflected in spelling--particularly in derivations like these as there's no history to force the spelling one way or the other--so you might instead spell it togglable.

Of course, as jmadsen points out, there's no reason you have to add -able. But you can if you like.

  • Thanks for the additional information. If I had enough rep on this site to upvote I would, haha – Jochem Kuijpers Oct 22 '13 at 12:23
  • 1
    As (another) programmer, I know I've used toggleable before. I slightly prefer this as it grammatically fits with Java bean standard of object.isToggleable. – LateralFractal Oct 22 '13 at 12:28
  • 1
    I think rice pudding might be loathable. I simply have to decide whether it is actually loathsome or not. – Andrew Leach Jan 5 '14 at 12:00
1

Also, Toggleable, with the e intact.

togglable (Wiktionary)

Able to be toggled. That button is togglable.

Usage example: See Toggleable radio buttons on StackOverflow.

@LateralFractal is right in suggesting isToggbleable as appropriate for the OP's context. See usage on GoogleSearch.

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