I am using vscode and
go to definition
go to declaration
does not seem to change, but
Does Python, the interpreter language, make little difference or distinction?
python
In other languages, the definition of "declaration" is used to indicate the existence of variables along with the data types of variables. Python only initializes variables with their respective values.
Python
#initialization
number = 10
data=["hello", 1, "naokiri", 16, (1, 2)]
Java
// Declaration
int number;
number = 10; //
// Declaration and Use
string letter="naokiri";
© 2024 OneMinuteCode. All rights reserved.