Programming MisconceptionsHomeMisconceptionsConceptsLanguagesTextbooksContributorsAbout
HomeConcepts
Argument

Argument

An argument is a value passed to a function.

Related concepts:  ParameterFunctionValue

Closest Wikipedia entry:  Parameter (computer programming)

Authoritative Definition

Wikipedia does not necessarily offer the best fitting definition of a concept. The exact meaning we attribute to the concept of Argument is based on principled authoritative sources such as:

Types and Programming Languages - Section 5.1

Misconceptions about Argument
5 documented Misconceptions

Any LanguageJavaJavaScriptPythonScratch
Check Yourself
Misconception
LiteralString — Java
When passing a literal string as argument to a method, no quotes are needed
Misconception
CallbackParametersInCaller — JavaScript
Parameters of a callback function may be written as parameters of the caller function
Misconception
FunctionOverloading — JavaScript
It is possible to create multiple functions with the same name but with different signatures
Misconception
NumberOfParametersMatchArguments — JavaScript
Functions must be called with the same number of arguments as defined in their signature
Misconception
ObjectAsParameterIsCopied — JavaScript
Objects are passed by value

Find Misconceptions by...

Concept
Programming Language
Notional Machine
Textbook

About

About This Site
Structure and Content of the Inventory
Contributors