Clean Ruby : A Guide to Crafting Better Code for Rubyists (2ND)

個数:
  • 予約
  • ポイントキャンペーン

Clean Ruby : A Guide to Crafting Better Code for Rubyists (2ND)

  • ウェブストア価格 ¥11,250(本体¥10,228)
  • APress(2026/08発売)
  • 外貨定価 US$ 54.99
  • 【ウェブストア限定】洋書・洋古書ポイント5倍対象商品(~2/28)
  • ポイント 510pt
  • 現在予約受付中です。出版後の入荷・発送となります。
    重要:表示されている発売日は予定となり、発売が延期、中止、生産限定品で商品確保ができないなどの理由により、ご注文をお取消しさせていただく場合がございます。予めご了承ください。

    ●3Dセキュア導入とクレジットカードによるお支払いについて
  • 【入荷遅延について】
    世界情勢の影響により、海外からお取り寄せとなる洋書・洋古書の入荷が、表示している標準的な納期よりも遅延する場合がございます。
    おそれいりますが、あらかじめご了承くださいますようお願い申し上げます。
  • ◆画像の表紙や帯等は実物とは異なる場合があります。
  • ◆ウェブストアでの洋書販売価格は、弊社店舗等での販売価格とは異なります。
    また、洋書販売価格は、ご注文確定時点での日本円価格となります。
    ご注文確定後に、同じ洋書の販売価格が変動しても、それは反映されません。
  • 製本 Paperback:紙装版/ペーパーバック版
  • 言語 ENG
  • 商品コード 9798868826429

Full Description

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, maintable, 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

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.

Contents

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.- 16. Conclusion.

最近チェックした商品