Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
codedokode
· 2y ago · 0 comments
"Go to definition" often doesn't work in dynamic languages like Python without type hints; it might not work when the code is dynamically generated.
Comments
[–]
neves
2y ago
It always work in VSCode if your environment is correctly configured.
[–]
codedokode
OP
2y ago
No; Python is a dynamic language and when you see a method call like
x.so_something()
you might not know what is the type of x and what method does do_something refers to.