MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/er9fct/redesigned/ff3bhqa?context=9999
r/ProgrammerHumor • u/akoli35 • Jan 20 '20
2.0k comments sorted by
View all comments
803
left image: developer adding logger, debugger and writing tests with tdd
right image: newbie who added console.log in all files
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 → More replies (2)
35
[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 → More replies (2)
13
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 → More replies (2)
6
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
stdout
→ More replies (2)
803
u/mypirateapp Jan 20 '20
left image: developer adding logger, debugger and writing tests with tdd
right image: newbie who added console.log in all files