Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> This suggestion (logging) doesn't help if it's e.g. other code you don't have control over,

Most of the time, other code uses the logging module so you do have control over that output. I haven't seen code not controlled by me that uses print() without me wanting it to.



> Most of the time, other code uses the logging module so you do have control over that output. I haven't seen code not controlled by me that uses print() without me wanting it to.

If you are a traditional software engineer, the other people's code you deal with as an upstream depency probably looks different than the other people's code data (or many other) scientists work with.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: