019 RR Book Club: Exceptional Ruby




The Ruby Rogues show

Summary: Panel Steven! Ragnarok (blog/site twitter github) Avdi Grimm (twitter github blog book) Charles Max Wood (twitter github Teach Me To Code) James Edward Gray (blog twitter github) Josh Susser (twitter github blog) Discussed in this Episode Exceptional Ruby (from exceptionalruby.com or pragprog.com) Avdi wrote the book because he felt like he sucked at exceptions Avdi's Ruby on Ales talk The method method Array() Hash#fetch raise rescue warn redefining warn to raise an exception for access to the backtrace Matching an exception based on the error message Custom exception matchers Make an error module and rescues the exceptions and tag them with that module. Nested Exceptions Bundling all exceptions raised during an import or unreliable process. Avdi asked about raising multiple exceptions. The checklist for raising an exception. "Are you ready to end the program?" rescue $! nil isn't very informative Special case object - something benign that represents the actual state of things begin is probably a code smell Putting bulkheads in your code This book should be required reading for gem authors. James pointed out that the book missed Thread#abort_on_exception Avdi outlines the process for writing the book Emacs org mode LaTeX Picks IO programming language (Steven) The original wiki c2.com (Josh) tvtropes.org (Josh) How to record Skype conversations (James) Audio Hijack Pro (James) Levelator (James) Amadeus Pro (James) OOPSLA paper on mocking (Avdi) Binkies Google Maps for Android