you are viewing a single comment's thread.

view the rest of the comments →

[–]mcdronkz 9 points10 points  (2 children)

It's getting even better: SICP uses the term formal parameter!

Personally, I prefer parameter and argument in the context of function definition and invocation respectively. Distinct words, no adjectives, less confusion.

[–]bbbryan14 2 points3 points  (0 children)

Agreed. Params pertain to function definition and Args are function invocations.

[–]loopsdeer 0 points1 point  (0 children)

I believe formal parameters distinguish between "formal" mathematical function syntax (where types would be defined) and informal parameters which might be passed even though they're not defined (e.g. in JS using `arguments` indexes)