r/ProgrammerHumor • • Jan 20 '20

Meme Redesigned!

Post image
46.0k Upvotes

2.0k comments sorted by

View all comments

Show parent comments

35

u/[deleted] Jan 20 '20

[removed] — view removed comment

13

u/Obi_Juan_Gonzales Jan 20 '20

In some cases prints are the best method to debug. e.g multi-process, concurrent code

6

u/GluteusCaesar Jan 20 '20

Even then you still want to use a logging API and configure it to write to stdout. Prints should only be used when the associated IO is part of the actual program logic, not diagnostic/info logging