Refactoring in Ruby (Paperback)
暫譯: Ruby 重構技術 (平裝本)
William C. Wake, Kevin Rutherford
- 出版商: Addison Wesley
- 出版日期: 2009-10-25
- 售價: $1,575
- 貴賓價: 9.8 折 $1,544
- 語言: 英文
- 頁數: 288
- 裝訂: Paperback
- ISBN: 0321545044
- ISBN-13: 9780321545046
-
相關分類:
Refactoring
立即出貨
買這商品的人也買了...
-
Microsoft Access 2003 使用手冊$490$417 -
深入淺出 Java 程式設計, 2/e (Head First Java, 2/e)$880$695 -
CSS、HTML、XHTML 精緻範例辭典$450$383 -
CSS 問題解決速查手冊, 2/e (CSS Cookbook, 2/e)$299$254 -
深入淺出 SQL (Head First SQL)$880$695 -
超圖解 Excel VBA 基礎講座$420$357 -
MySQL 5 徹底研究, 3/e (The Definitive Guide to MySQL 5, 3/e)$690$538 -
超圖解 Excel VBA 應用講座$420$357 -
深入淺出物件導向分析與設計 (Head First Object-Oriented Analysis and Design)$880$695 -
C++ Primer, 4/e (中文版)$990$891 -
防駭超級工具 (Security Power Tools)$1,200$948 -
大話設計模式$620$490 -
深入淺出 JavaScript (Head First JavaScript)$880$695 -
Ruby Best Practices (Paperback)$1,140$1,080 -
加密與解密, 3/e$580$458 -
ASP.NET 3.5 控制項與元件開發大全$690$538 -
ASP.NET 4.0 完美入門:使用 VB$560$442 -
Excel 2010 函數與分析工具$540$427 -
Android 4.X 手機/平板電腦程式設計入門、應用到精通, 2/e (適用 Android 1.X~4.X)$520$411 -
App 程式設計入門-iPhone、iPad, 2/e$490$387 -
iOS 創意程式設計家─ iPhone + iPad 跨平台通用, 3/e$580$458 -
JavaScript 大全, 6/e (JavaScript: The Definitive Guide: Activate Your Web Pages, 6/e)$1,200$948 -
實戰雲端作業系統建置與維護-VMware vSphere 5 虛擬化全面啟動
$680$537 -
求職加分!進入 IT 產業必讀的 200 個 .NET 面試決勝題:從求職準備、面試流程、開發心得、重點回顧到經典試題的完整剖析$590$460 -
ASP.NET MVC 4 開發實戰$680$537
商品描述
The First Hands-On, Practical, All-Ruby Refactoring Workbook!
Refactoring–the art of improving the design of existing code–has taken the world by storm. So has Ruby. Now, for the first time, there’s a refactoring workbook designed from the ground up for the dynamic Ruby language.
Refactoring in Ruby gives you all the realistic, hands-on practice you need to refactor Ruby code quickly and effectively. You’ll discover how to recognize “code smells,” which signal opportunities for improvement, and then perfect your program’s design one small, safe step at a time.
The book shows you when and how to refactor with both legacy code and during new test-driven development, and walks you through real-world refactoring in detail. The workbook concludes with several applications designed to help practice refactoring in realistic domains, plus a handy code review checklist you’ll refer to again and again. Along the way, you’ll learn powerful lessons about designing higher quality Ruby software–lessons that will enable you to experience the joy of writing consistently great code.
Refactoring in Ruby will help you
- Recognize why poor code design occurs, so you can prevent it from occurring in your own code
- Master better design techniques that lead to more efficient, reliable, and maintainable software
- Fix code that’s too long, large, or difficult to follow
- Ferret out duplication, and express each idea “once and only once”
- Recognize missing or inadequately formed classes
- Simplify overly complex relationships between classes and their subclasses
- Achieve the right balance of responsibilities among objects
- Make your code easier to test and change
- Cope with incomplete library modules, and fix runaway dependencies
- Learn the next steps to take after you refactor
商品描述(中文翻譯)
第一本實作性強、實用的全Ruby重構工作手冊!
重構——改善現有程式碼設計的藝術——已經席捲全球。Ruby 也同樣如此。現在,首次推出專為動態 Ruby 語言量身打造的重構工作手冊。
Ruby 重構提供了所有現實的、實作性的練習,讓你能夠快速且有效地重構 Ruby 程式碼。你將學會如何識別“程式碼異味”,這些異味暗示著改進的機會,然後一步一步安全地完善你的程式設計。
本書展示了在舊有程式碼和新的測試驅動開發中,何時以及如何進行重構,並詳細介紹了現實世界中的重構過程。工作手冊最後包含幾個應用案例,旨在幫助你在現實領域中練習重構,還有一份方便的程式碼審查檢查表,你將不斷參考。在這個過程中,你將學到設計高品質 Ruby 軟體的強大課題——這些課題將使你體驗到持續編寫優秀程式碼的樂趣。
Ruby 重構將幫助你
- 識別為何會出現不良程式碼設計,以便你能在自己的程式碼中防止這種情況發生
- 掌握更好的設計技術,從而實現更高效、可靠和可維護的軟體
- 修正過長、過大或難以理解的程式碼
- 找出重複,並“只表達一次”每個想法
- 識別缺失或不充分形成的類別
- 簡化類別及其子類別之間過於複雜的關係
- 在物件之間達成適當的責任平衡
- 使你的程式碼更容易測試和修改
- 應對不完整的庫模組,並修正不斷增長的依賴關係
- 學習在重構之後應該採取的下一步
