News for hackers. Stuff that matters.
Re:Greppability is an underrated code metric by codedokode on Tuesday September 03, 2024 @05:50PM (#41439646)
"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.
Re:Greppability is an underrated code metric by neves on Wednesday September 04, 2024 @02:43PM (#41449072)
It always work in VSCode if your environment is correctly configured.
Re:Greppability is an underrated code metric by codedokode on Wednesday September 04, 2024 @07:49PM (#41452040)
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.