[HN Gopher] Printf Debugging and Srinivasa Ramanujan
       ___________________________________________________________________
        
       Printf Debugging and Srinivasa Ramanujan
        
       Author : janvdberg
       Score  : 5 points
       Date   : 2021-12-14 20:58 UTC (2 hours ago)
        
 (HTM) web link (earthly.dev)
 (TXT) w3m dump (earthly.dev)
        
       | vanusa wrote:
       | _The most effective debugging tool is still careful thought,
       | coupled with judiciously placed print statements._
       | 
       |  _Brian Kernighan, "Unix for Beginners"_
       | 
       | Finally someone has the courage to tell the truth.
       | 
       | s/debugging/testing/g and watch much of the current hype over
       | TDD/CICD evaporate before your very eyes.
        
       | thrower123 wrote:
       | I tend to not use debuggers because I've done so much work on
       | real-time, asynchronous, multi-threaded and multi-process
       | systems. If you stop the world in a debugger to poke at things,
       | that tends to mask problems that do exist and create problems
       | that don't really.
       | 
       | Besides, you've got to have decent logs to be able to debug
       | issues that happened in production.
       | 
       | Printf, logging, debuggers, repls, they are all tools in the
       | toolbelt that you use when it is appropriate. And don't use when
       | it isn't appropriate.
        
       ___________________________________________________________________
       (page generated 2021-12-14 23:02 UTC)