Slide 14
Slide 14 text
Just run TypeProf for OptCarrot as-is
• Count all errors in batch mode
• 669 errors!
• All are "undefined method" errors
• All should be phantom errors
• We want zero errors on OptCarrot
• The natural goal if you use TypeProf
• What did it take to bring 669 errors down to zero?
typeprof --show-stats --show-errors lib/optcarrot/**/*.rb
Error type Count
nil#[], nil#+, etc. 223
{false, true}#[], etc. 368
{ClassName}#... 183