adriangb/di

“Dependent” is misspelled “dependant”

jab opened this issue · 2 comments

jab commented

In case you want to fix the spelling.

(Similarly, “dependency” has no “a”.)

Relatedly, there’s a codespell precommit hook that may have caught this (and maybe other spelling errors in this codebase).

English is not my first language, so bear with me.

I remember being confused about this because some spell checkers (e.g. Safari's) will correct Dependant -> Dependent . If you google dependancies Google will autocorrect it to "dependencies". I think this is one of those weird English things where it varies by country and there are multiple "correct" ways. For example, according to Merriam-Webster:

The difference between dependent and dependant is merely a matter of preferred spelling. "Dependent" is the dominant form in American English for both the noun and adjective, while in British English, "dependant" is more common for the noun. "Dependent" is still used to indicate the adjective form in British English but its use in this form is uncommon.

Regardless, it would be good to standardize since it seems I'm mixing and matching. It sounds like you're in favor of:

  • Dependant(s)
  • dependan{c,cies}

Is that right?

jab commented

(I think you meant I'm in favor of "dependent(s)" and "dependencies", which I am.)

Every software tool I've ever used spells it with an e rather than an a, e.g.

I had no idea "dependant" was ever correct. Granted, I'm American, but I've worked with lots of software engineers from the UK, Canada, Australia, etc. who are native English speakers who always spell this "dependent", which is consistent with all the software tools I've ever used.