Argument
Meaning in software engineering, with examples
In software engineering, argument means: The actual value you give to a function when you call it. In add(2, 3), the numbers 2 and 3 are the arguments.
In Turkish: argüman, bağımsız değişken
How it is used
You pass an argument to a function. Strictly, parameters are the names in the function definition and arguments are the values at the call site, but many developers mix the two words. Command-line tools also take arguments.
Example sentences
You're passing the arguments in the wrong order: the user ID should come first.
This function takes two arguments and an optional third one for the timeout.
Common collocations
- pass an argument
- take an argument
- optional argument
- command-line arguments
- invalid argument
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: Programming Concepts
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
