"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

August 05, 2022

Debugging / Code Practical Views

  • Modularize and integrate it easier to debug
  • Clarity of code changes vs perception of change, Know every key line of change, Why and how it works
  • Easier to plug and test smaller portions of code as needed
  • Documentation at method level on input/output
  • Comment key lines of function in code (the core of logic), Keep versions of old key lines commented as needed. 80% of key logic may be in 2 lines of a function :)
  • Logs to capture
  • Spot the block that errors / Enable / disable the key lines / retain prior changes to spot low-level issues

Knowing purpose makes it easier to spot the line!!!

Keep learning code through a product lens!!


No comments: