Variables, Parameters, Arguments: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
=Parameter= | =Parameter= | ||
Method parameters in various languages: | Method parameters in various languages: | ||
* [[Java method parameters]] | * [[Java_Language#Method_Parameter|Java method parameters]] | ||
=Argument= | =Argument= | ||
=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:50, 17 August 2023
Internal
Variable
Variables in various programming languages:
- Java variables
- Python variables
- Go variables
- Bash variables
Parameter
Method parameters in various languages:
Argument
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.