Polished Ruby Programming

Second Edition
id: 1255456 VIP Open in MaM

By Jeremy Evans

Language: English

Category: Ebook - Computer/Internet

Categories: Computer/Internet

Size: 14 MiB epub Files: 1

Uploader: vinko

Uploaded At: 2026-07-12 06:04:57

Packt Publishing, August 11, 2026; 2nd Edition

Description

Learn design principles, best practices, and trade-offs involved in implementation approaches, to improve your Ruby programming skills


Key Features

 

Book Description

Most successful Ruby applications become more difficult to maintain as the codebase grows in size. Polished Ruby Programming, 2nd Edition provides you with the skills and advice you need to design Ruby programs and libraries that are robust, performant, scalable, and maintainable.

The book takes you through possible implementation approaches for many common programming situations, discusses the trade-offs inherent in each approach, and explains why you may sometimes choose to use different approaches. You'll start by learning fundamental Ruby programming principles, such as correctly using core classes, class and method design, variable usage, error handling, and code formatting. Then you’ll move on to higher-level topics such as library design, metaprogramming, domain-specific languages, and refactoring. Finally, you'll learn about the pros and cons of different approaches to concurrency, what you should consider when deciding whether to use static types in your Ruby code, and how best to optimize your Ruby code.

The 2nd edition of Polished Ruby Programming has been updated to include relevant changes between Ruby 3.0 and 4.0. While most principles discussed in the book apply to all recent Ruby versions, some of the content in the book is specific to Ruby 4.0, the latest release at the time of publication.


What you will learn

 

Who this book is for

If you already know how to program in Ruby and want to learn more about the principles and best practices behind writing maintainable, scalable, optimized, and well-structured Ruby code, then this book is for you. Intermediate to advanced-level working knowledge of the Ruby programming language is expected to get the most out of this book.


Table of Contents

  1. Getting the Most out of Core Classes
  2. Designing Useful Classes
  3. Proper Variable Usage
  4. Methods and Their Parameters
  5. Handling Errors
  6. Formatting Code for Easy Reading
  7. Designing Your Library
  8. Designing for Extensibility
  9. Metaprogramming and When to Use It
  10. Designing Useful Domain-Specific Languages
  11. Testing to Ensure Your Code Works
  12. Handling Change
  13. Using Common Design Patterns
  14. Choosing Your Concurrency Approach
  15. Static or Duck
  16. Optimizing Your Code

 

About the Author

Jeremy Evans is a Ruby committer who focuses on fixing bugs in Ruby, as well as improving the implementation of Ruby. He is the maintainer of many popular Ruby libraries, including the fastest web framework (Roda) and fastest database library (Sequel). His libraries are known not just for their performance, but also for their code quality, understandability, documentation, and how quickly any bugs found are fixed. For his contributions to Ruby and the Ruby community, he has received multiple awards, such as receiving the prestigious RubyPrize in 2020 and being chosen as a Ruby Hero in 2015. He has given presentations at over 20 Ruby conferences. In addition to working on Ruby, he is also a committer for the OpenBSD operating system.

 

 

 

ISBN: 9781803243641
Publisher: Packt Publishing (August 11, 2026)
Number of pages (Paperback): 432

 

Other Torrents

Ebook - Computer/Internet
Polished Ruby Programming: Build better software with more intuitive, maintainable, scalable, and high-performance Ruby code
by Jeremy Evans
Ruby Programming, Software Development, Packt Publishing, Published July 16, 2021
epub, mobi, pdf | 0 comments
Computer/Internet
3
9.5 MiB
2021-07-12 22:22:50
redeagle96
22 seeders
0 leechers
130 snatches