Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canceled vs. Cancelled #4

Open
novemberborn opened this issue Dec 28, 2012 · 10 comments
Open

Canceled vs. Cancelled #4

novemberborn opened this issue Dec 28, 2012 · 10 comments

Comments

@novemberborn
Copy link

We'll have to pick one and stick to it. There's some nice background at http://grammarist.com/spelling/cancel/.

@domenic any leanings to one or the other in ES-discuss?

@domenic
Copy link
Member

domenic commented Dec 29, 2012

Not that I can see. I've seen "cancelled" the state and "AlreadyCanceled" as an error.

Precedent from other implementations might be the strongest argument. WinJS seems to use cancelled.

@novemberborn
Copy link
Author

Dojo uses canceled, which I picked as it was the shortest one.

@juandopazo
Copy link

As a non native speaker, I think I've never written canceled, only cancelled.

@ForbesLindesay
Copy link
Member

I think we can safely settle on cancellation/cancelled. It's the correct, native English spelling and I think even the Americans might spell it with two 'l's.

@novemberborn
Copy link
Author

I think even the Americans might spell it with two 'l's.

It's a mix. NYT shows an order of magnitude difference, preferring "canceled": https://www.google.com/search?q=%22canceled%22%20site:nytimes.com vs https://www.google.com/search?q=%22cancelled%22%20site:nytimes.com.

@juandopazo
Copy link

Google Trends show an inclination for "cancelled":
http://www.google.com/trends/explore#q=cancelled%2C%20canceled&cmpt=q

@novemberborn
Copy link
Author

Sure, but that's global. I'm presuming words in computer languages default to American English.

That said, color wins over colour, and behavior over behaviour, so if cancelled wins over canceled perhaps that's enough.

@ludekstepan
Copy link

Please see a Microsoft implementation of Promise.cancel: http://msdn.microsoft.com/en-us/library/windows/apps/br211667.aspx

@spankyj
Copy link

spankyj commented May 14, 2014

In WinJS we use 'Canceled' https://github.com/winjs/winjs/blob/master/src/js/base/promise.js#L12. We had a long debate on an internal alias years ago and settled on that.

@ludekstepan
Copy link

In cases like this, I would stick to forms with less characters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants