0
نام کتاب
Clean Ruby

A Guide to Crafting Better Code for Rubyists

Carleton DiLeo

Print Length379 Pages
PublisherApress
Edition2
LanguageEnglish
Year2026
ISBN9798868826429
1K
A1696
انتخاب نوع چاپ:
جلد سخت
1,224,000ت
0
جلد نرم
1,094,000ت
0
طلق پاپکو و فنر
1,104,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:سیاه و سفید
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

#Ruby

#TDD

#DRY

#YAGNI

#KISS

#SOLID

توضیحات

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


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.


Table of Contents

Chapter 1: Why Clean Ruby Matters

Chapter 2: Principles

Chapter 3: Naming Things

Chapter 4: Creating Quality Methods

Chapter 5: Using Boolean Logic

Chapter 6: Classes

Chapter 7: Looping

Chapter 8: Metaprogramming

Chapter 9: Modern Ruby Idioms

Chapter 10: Refactoring

Chapter 11: Test-Driven Development (TDD)

Chapter 12: Error Handling

Chapter 13: Design Patterns

Chapter 14: Sustainable Clean Code

Chapter 15: Performance


About the Author

Carleton DiLeo is a software developer with more than 20 years of experience working in everything from VR to web development. He has written code from high-traffic websites to back-end big data systems to video games using a number of different languages and technologies. This wide base of knowledge provides Carleton with a unique perspective when writing Ruby code. He is currently a remote principal software engineer building robust, scalable systems.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
Software Architecture
4,707
Clean Architecture
1,046,000 تومان
Clean Code
1,273
The Art of Unit Testing: with examples in C#
789,000 تومان
JavaScript
752
Crafting Clean Code with JavaScript and React
1,106,000 تومان
Clean Code
1,287
Object Design Style Guide
780,000 تومان
Clean Code
1,167
Five Lines of Code
873,000 تومان
Clean Code
1,444
Grokking Simplicity
1,587,000 تومان
Microsoft
1,145
Clean Architecture with .NET
871,000 تومان
Clean Code
1,383
Crafting Interpreters
1,972,000 تومان
++C
1,180
Clean C++
799,000 تومان
Clean Code
1,466
Test-Driven Development
688,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما