×
Copy
Open
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Slide 1
Slide 1 text
No content
Slide 2
Slide 2 text
From http://www.codeodor.com/images/frustrated.jpg
Slide 3
Slide 3 text
“Beware of bugs in the above code; I have only proved it correct, not tried it.” — Donald Knuth
Slide 4
Slide 4 text
From http://thecollaboratory.wikidot.com/2013-philosophy-of-thought-logic
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
No content
Slide 7
Slide 7 text
No content
Slide 8
Slide 8 text
Use binding.pry Easier to write. Easier to read. Can explore interactively. Can fix things interactively.
Slide 9
Slide 9 text
Use binding.pry whereami $ (aka. show-source) ls edit
Slide 10
Slide 10 text
Use binding.pry cd ? (aka. show-doc) up (and down) try-again (with rescue rails server) help
Slide 11
Slide 11 text
Debugging is fun 49.9% of your time is spent debugging. Optimize that. Pry can help.
Slide 12
Slide 12 text
Questions? @ConradIrwin