Clean Ruby
Regulärer Preis:
39,99 €
Sofort verfügbar
Clean Ruby, Apress
A Guide to Crafting Better Code for Rubyists
Von Carleton DiLeo, im heise shop in digitaler Fassung erhältlich
Produktinformationen "Clean Ruby"
Learn to write clean Ruby code that your team will thank you for. This fully
revised and expanded edition goes far beyond the basics to help you master the
principles and practices to keep your Ruby code elegant, maintainable, and
future-proof.
Author Carleton DiLeo draws on years of experience across diverse Ruby codebases
to show you why clean code matters and how to achieve it using today’s
best practices. You’ll learn foundational principles like SOLID, DRY, and
KISS, explore modern Ruby idioms such as pattern matching and safe navigation,
and discover strategies for refactoring, error handling, and performance tuning.
Unlike books that only tell you how to write Ruby, this edition explains why
these choices matter, and how they impact readability, scalability, and team
productivity. With new chapters on metaprogramming, design patterns, sustainable
development practices, and benchmarking tools, this book equips you to write
Ruby code that stands the test of time.
What You Will Learn:
- Apply core principles (SOLID, DRY, YAGNI, KISS) to real-world Ruby code
- Use modern Ruby features: pattern matching, safe navigation, keyword arguments
- Create cleaner classes and methods with practical examples
- Refactor confidently with tests-first strategies
- Handle errors responsibly with domain-specific exceptions
- Implement design patterns in Ruby and avoid common pitfalls
- Improve performance using benchmarking and profiling tools
- Build sustainable practices: linters, CI, code reviews
Artikel-Details
- Anbieter:
- Apress
- Autor:
- Carleton DiLeo
- Artikelnummer:
- 9798868826436
- Veröffentlicht:
- 20.07.26
Barrierefreiheit
This PDF has been created in accordance with the PDF/UA-1 standard to enhance accessibility, including screen reader support, described non-text content (images, graphs), bookmarks for easy navigation
- entspricht den Vorgaben der PDF / UA 1 (05)
- keine Vorlesefunktionen des Lesesystems deaktiviert (bis auf) (10)
- navigierbares Inhaltsverzeichnis (11)
- logische Lesereihenfolge eingehalten (13)
- kurze Alternativtexte (z.B für Abbildungen) vorhanden (14)
- Inhalt auch ohne Farbwahrnehmung verständlich dargestellt (25)
- hoher Kontrast zwischen Text und Hintergrund (26)
- Navigation über vor-/zurück-Elemente (29)
- alle zum Verständnis notwendigen Inhalte über Screenreader zugänglich (52)
- Kontakt zum Herausgeber für weitere Informationen zur Barrierefreiheit (99)