I am writing some code for an application that initiates an asynchronous action and returns an object that can be used to cancel the action before completion.

However, I am having difficulty naming this object. Basically I need a word that means "that which cancels". "Cancellor" doesn't seem to be a word. "Terminator" may be suitable in theory but I would prefer an alternative if one exists.

4 Answers
4

Oh, that was a silly mistake to make. "Canceller" will work then. Thank you!
–
George EdisonFeb 6 '13 at 5:36

I used to produce/supply/document bus ticket analysis software. Most on-bus electronic ticket recording systems support a ticket cancellation transaction which is usually paired up with an earlier ticket issue. I specifically chose to refer to such pairs as cancellor / *cancellee on the grounds that -or/-ee is far more dedicated to the agent / thing acted upon distinction that -er / -ed. In short, I don't think it's defensible to suggest OP's cancellor was just a spelling mistake.
–
FumbleFingersFeb 6 '13 at 17:59

No, that wasn't my intent. It just seemed odd that he didn't find it if he had looked it up. I did my own search and -or didn't show up, but -er did. Also, the fact that I design "cancellers" for a living gave me a sense of being an authority, at least in regard to the usage of the term. Seeing it as -or would only perturb me as much as seeing colour instead of color. If it's during a personal interaction, then at that point, I might see a cultural difference that can add an interesting and enjoyable dimension to the conversation.
–
Canis LupusFeb 6 '13 at 18:18

I used to produce/supply/document bus ticket analysis software. Most on-bus electronic ticket recording systems support a ticket cancellation transaction which is usually paired up with an earlier ticket issue. I always referred to such pairs as cancellor / cancellee because -or/-ee is far more dedicated to the agent / thing acted upon distinction than -er / -ed.

As RegDwight points out in this answer to an earlier (possibly duplicate) question, there are many words where both forms are perfectly common. You could say Brits still favour adviser and convener over the -or versions more than Americans, but you've only to look at this chart to see we're all moving strongly towards -or.

Therefore I would unhesitatingly recommend cancellor in OP's context, if he uses cancel in other documentation / variable names relating to the specific operation / computer code involved. Only in the (unlikely) event the documentation refers to the possibility of terminating (as opposed to cancelling) the operation should he opt for terminator.

My God, it's fun to watch the horses being flogged around here. (It's enlightening to see what counts as a "possible duplicate" too.) What about the "evidence" presented by this chart? books.google.com/ngrams/… It's dubious evidence of anything if you ask me.
–
Canis LupusFeb 6 '13 at 19:34

@Jim: I'm not sure I see your point. Horse flogging implies this particular question has been "done to death", so why would it not be sensible to consider it in the light of an earlier question covering the same ground from a more general perspective? Currently, the only vote on this page (not mine) is a downvote for canceller. Oh, and a closevote for Off Topic, which I don't understand. I'm aware that canceller is currently more common than cancellor - but as I implied, that's moving against the trend, and I don't think things will stay that way if/as we use the word/s more often.
–
FumbleFingersFeb 6 '13 at 21:55