Exceptional Ruby
Book information
Description
Exceptional Ruby is an in-depth guide to exceptions and failure handling in Ruby. Over 100 pages of content and dozens of working examples cover everything from the mechanics of how exceptions work to how to design a robust failure management architecture for your app or library. Whether you are a Ruby novice or a seasoned veteran, Exceptional Ruby will help you write cleaner, more resilient Ruby code. What You'll Find: A detailed look at the lifecycle of a Ruby exception. Overriding Kernel#raise for fun and profit. Alternatives to exceptions, for when "fail fast" isn't the right answer. How to write a crash logger. Advanced dynamic exception matching in rescue clauses. Avoiding failure cascades with the Barricade and Circuit Breaker patterns. 5 questions to ask before raising an exception. Exception safety testing for critical methods. How to create an error API for your library that will make other developers want to kiss you. The 3 exception classes every app or library needs. And much, much more... over 100 pages of tips, guidelines, and awesome hacks!
Similar books
Confident Ruby (for james tumino)
EPUB
Confident Ruby: 32 Patterns for Joyful Coding
2013 · PDF
Exceptional Ruby
2011 · MOBI
Confident Ruby: 32 Patterns for Joyful Coding
2013 · MOBI
Confident Ruby: 32 Patterns for Joyful Coding
2013 · EPUB
Confident Ruby: 32 Patterns for Joyful Coding
2013 · PDF
Exceptional Ruby
2011 · PDF
EXCEL 2023 CRASH COURSE: Master Excel 2023 With This Complete Crash Course In 7 Days
2022 · EPUB