Re:Ask HN: Do You Use a Debugger?
by shortrounddev2 on Saturday March 09, 2024 @03:05PM
(#39654343)
I find debuggers are more useful in a dynamic language because of the uncertainty of the state of the program. I am better able to write lots of code without testing frequently in C++ than I am in Python or Javascript
[ Parent
| on HN ]
Re:Ask HN: Do You Use a Debugger?
by anditherobot on Saturday March 09, 2024 @11:10PM
(#39656652)
In a statically typed language and explicit type definitions.
int age = will never have string "December".
But in python both: age = 42 and age = "December" are possible.
Re:Ask HN: Do You Use a Debugger?
by shortrounddev2 on Sunday March 10, 2024 @10:38AM
(#39659475)
Yes, that's why I find it much easier to write code without a debugger in c++, though I do use one frequently