I don't have anything against debuggers, but I feel more natural to write into the code and this simplifies it.
TBH I haven't tried this or snoop heavily and the project was more of a curiosity of how the internals of python work after I found a relevant SO post.
Honestly I was surprised how easy it was.
If you actually want to use something like this use snoop: https://pypi.org/project/snoop/ it is more feature rich and maintained.
same thoughts. i kind of get the utility of logging the whole application state without breakpoints or stepping through stuff (but maybe debuggers can also do this?), but my first thought was that this is simpler for folks not used to debuggers
cozzyd|2 years ago
(To be fair, in my experience, lots of python users have no idea what a debugger is...)
xLaszlo|2 years ago
I don't have anything against debuggers, but I feel more natural to write into the code and this simplifies it.
TBH I haven't tried this or snoop heavily and the project was more of a curiosity of how the internals of python work after I found a relevant SO post.
Honestly I was surprised how easy it was.
If you actually want to use something like this use snoop: https://pypi.org/project/snoop/ it is more feature rich and maintained.
martinky24|2 years ago
notnmeyer|2 years ago
icholy|2 years ago
JCharante|2 years ago
awithrow|2 years ago
xLaszlo|2 years ago
ttyprintk|2 years ago
https://news.ycombinator.com/item?id=20457784