When I program, I like to give my variables a very meaningful name. In my opinion, in C ++ and another compiled language, these two lines are completely equivalent:
line1:
bool a = true;
line 2:
bool bob_likes_very_much_to_eat_strawberry_on_friday_evening = true;
the reason is this: it will be compiled, and variable names will be lost in the process (?).
On the other hand, and this is what I ask, it seems that the following two will not be equivalent in python:
line1:
a = True
line 2:
bob_likes_very_much_to_eat_strawberry_on_friday_evening = True
the reason this is interpreted, and the interpreter will use some dictionaries with the variable name as the key that will request (?). I have no idea how these dictionaries are implemented, but it doesn't seem crazy to me that a long hash name can take longer (?), And in some cases it affects.
, , ?
1:
:
, - ?
python ( , , , python )
2:
, -, . , , , - .