3 ms·
I hope somebody forks this and creates a version that automatically corrects the method for you at runtime. Why even show an error or throw an exception? Bonus
by bradgessler 12y ago
I hope somebody forks this and creates a version that automatically corrects the method for you at runtime. Why even show an error or throw an exception?
Bonus if the corrections are cached for performance.
- allyant 12y agoWhat a horrible idea - what if the suggested method wasn't the intended one?
- bhaak 12y agoThis has already been done before: http://decomplecting.org/blog/2013/03/01/code-typos-got-you-down-stop-worrying-with-close-enough/ http://decomplecting.org/blog/2013/03/01/code-typos-got-you-...
- jarin 12y agoHaha this is maybe the worst idea ever.
- crystaln 12y agoHopefully you're joking. As if it wasn't already hard enough to figure out the code path in a ruby application, now we can make it largely indeterminate and dependent on an ever-changing fuzzy algorithm!