
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:
Who this Book is for:
Ruby developers, ideally who have taken a Ruby on Rails bootcamp or have a few years of experience, who want to go beyond syntax to master writing clean, professional-grade code.
Inhaltsverzeichnis
1. Why Clean Ruby Matters. - 2. Principles. - 3. Naming Things. - 4. Creating Quality Methods. - 5. Using Boolean Logic. - 6. Classes. - 7. Looping. - 8. Metaprogramming. - 9. Modern Ruby Idioms. - 10. Refactoring. - 11. Test-Driven Development. - 12. Error Handling. - 13. Design Patterns. - 14. Sustainable Clean Code. - 15. Performance.
Es wurden noch keine Bewertungen abgegeben. Schreiben Sie die erste Bewertung zu "Clean Ruby" und helfen Sie damit anderen bei der Kaufentscheidung.