# Why are actual parameters called “arguments”?

Where does the word "argument" (in the programming sense) come from?
i.e. Why are actual parameters called "arguments"?

The meanings don't seem related, and I haven't found any explanation of it anywhere.

Note on the terminology:

• "Formal" parameters (also known simply as "parameters") are the "placeholder" names (say, x) -- the declared parameters of a function.

• "Actual" parameters (also known as "arguments") are the actual values which are passed to a function (say, 5), hence I used this term above to prevent any confusion.

-
parameters means the declaration, arguments then values used. – bummi Feb 7 '13 at 19:36
It comes from math. Obviously, the next question is "so where did the term originate in math?" – Anthony Pegram Feb 7 '13 at 19:38
This question is being discussed here. – Robert Harvey Feb 7 '13 at 20:03
Just a note regarding the edit, I put the word "actual" in there to distinguish them from "formal" parameters. Otherwise there are going to be a million people thinking I didn't understand the difference, who will try to answer the wrong question. – Mehrdad Feb 7 '13 at 21:18
I think a better question would be: Why are arguments called "actual parameters"? This formal/actual parameter business seems to have been made up by someone who didn't know that the name for "actual parameter" is argument. – Caleb Feb 7 '13 at 22:29

The term was adopted by computer scientists when they applied mathematical reasoning to programming in the mid 20th century.

The word argument has the general sense of something from which another thing may be deduced. It comes ‘from the L. arguere “make clear, make known, prove, declare, demonstrate,” from PIE *argu-yo-, from root *arg- “to shine, be white, bright, clear” ’, which root is also preserved in the words argent (“silvery white”) and Argentina (“[river] of silver”).¹

Its use in English to mean amathematical quantity from which anotherquantity may be deduced, or on which its calculation depends” is attested as early as 1386:

Argument (ā·ɹgiuměnt). [a. F. argument (13th c.), ad. L. argūment-um, f. arguěre (or refashioning, after this, of OF. arguement, f. arguer): see ARGUE. For use of the L. form, see 3 c.]
2. Astr. and Math. The angle, arc, or other mathematical quantity, from which another required quantity may deduced, or on which its calculation depends.
c 1386 CHAUCER Frankl. T. 549 Hise othere geeris, As been his centris and hise Argumentz.
c 1391Astrol. xliv. 54 To knowe the mene mote and the argumentis of any planete.
1796 HUTTON Math. Dict. I. 141/2 Annual argument of the moon’s apogee . . is the distance of the sun’s place from the place of the moon’s apogee.
1879 THOMPSON & TAIT Nat. Phil. I. 1. § 54 An arc of the circle referred to . . is the Argument of the harmonic motion.²

-

According to Wiktionary, the originating Latin word was argumentum, which also means "token". So you can see pretty easily how that term got used in mathematics, most of the texts of which were written in Latin for a long time.

A lot of terms used in mathematics, particularly around functions, naturally spread to programming.

-
Wow, +1 for the reference -- the other definitions are helpful as well: subject, contents. – Mehrdad Feb 7 '13 at 21:52
The word argumentum does not mean “token”, not in the sense used in mathematics and computer science (a symbol). In this context, token means “evidence” (literally “a showing”), as you might see it in phrases such as “a small token of my esteem” or “gave the proposal only token support”. – MετάEd Feb 8 '13 at 0:40
@MετάEd "Something serving as an indication, proof, or expression of something else" - I don't see how I've used it any other way. I like your answer though. +1 for that. – pdr Feb 8 '13 at 11:38
@pdr Oh, I'm not criticizing your use of the word. Your answer got my +1. I just see the possibility of confusion because token is used a lot in programming in a technical sense meaning “symbol”. – MετάEd Feb 8 '13 at 14:46

This goes back to celestial mechanics in the pre-calculus days. Orbits, arcs, chords, sinus, periapsis, and so on.

The term "argument" was used since I don't know how long ago, but it is described in the book "A philosophical and mathematical dictionary, containing an explanation of the terms, and an account of the several subjects, comprised under the heads mathemetics, astronomy, and philosophy both natural and experimental ... also memoirs of the lives and writings of the most eminent authors, both ancient and modern" (that's not the entire title) published in 1815 by Charles Hutton, 1737-1823.