Variables, Parameters, Arguments: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:


=Argument=
=Argument=
Function arguments in various languages:
* [[Python_Language_Functions#Function_Arguments|Python function arguments]]
=Discussion=
=Discussion=
This terminology applies to Java method invocations, Python method invocations and even Java generics, where the ordinary parameters and variables are replaced with [[Java_Generics_Concepts#Type_Parameters|type parameters]] ([[Java_Generics_Concepts#Type_Variable|type variables]]), and the arguments are replaced with [[Java_Generics_Concepts#Type_Argument|type arguments]].
This terminology applies to Java method invocations, Python method invocations and even Java generics, where the ordinary parameters and variables are replaced with [[Java_Generics_Concepts#Type_Parameters|type parameters]] ([[Java_Generics_Concepts#Type_Variable|type variables]]), and the arguments are replaced with [[Java_Generics_Concepts#Type_Argument|type arguments]].

Revision as of 18:52, 17 August 2023

Internal

Variable

Variables in various programming languages:

Parameter

Function parameters in various languages:

Argument

Function arguments in various languages:

Discussion

This terminology applies to Java method invocations, Python method invocations and even Java generics, where the ordinary parameters and variables are replaced with type parameters (type variables), and the arguments are replaced with type arguments.