Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Happy Little Accidents - The Art of Debugging

36 views

Published on

Here are my slides of a 1st version of a talk about different techniques of debugging

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Happy Little Accidents - The Art of Debugging

  1. 1. Happy Little Accidents The Art of Debugging @hamatti
  2. 2. Hi, I’m Juhis! Developer. Dreamer. Adventurer. @hamatti
 
 Hobby Developer Mentor @ Koodimentori Founder @ Turku 💛 Frontend
  3. 3. Little Happy Accidents or how your boss calls them: bugs You can’t beat ‘em all - they will happen. Debugging skills help you + spot ‘em + fix ‘em
 + patch ‘em in a PR Logical errors vs syntax errors
  4. 4. Little Happy Accidents - PRINTING - Python <3.0: print x || Python 3.0+: print(x) || Ruby: puts x
  5. 5. Little Happy Accidents - PRINTING - Python <3.0: print x || Python 3.0+: print(x) || Ruby: puts x
  6. 6. Little Happy Accidents - DEBUGGER - Python <3.7: pdb || Python 3.7+: debugger || Ruby: pry
  7. 7. Little Happy Accidents - LOGGING - Printing gives access when you’re driving. Logging gives access to history of problems. Tools like Elasticsearch or Bugsnag make your life easier.
  8. 8. Little Happy Accidents - TESTS - Write tests to - prevent little happy accidents + create tests while developing - make sure they don’t happen again + create tests after finding a bug
  9. 9. Little Happy Accidents - RUBBER DUCK - https://twitter.com/msdev/status/558006121471164416
  10. 10. THANK YOU! @hamatti http://hamatti.org

×