Practical Object-Oriented Design: An Agile Primer Using Ruby, 2/e (Paperback)

Sandi Metz

  • 出版商: Addison Wesley
  • 出版日期: 2018-08-22
  • 售價: $1,650
  • 貴賓價: 9.5$1,568
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 0134456475
  • ISBN-13: 9780134456478
  • 相關分類: RubyAgile SoftwareObject-oriented
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

The Complete Guide to Writing Maintainable, Manageable, Pleasing, and Powerful Object-Oriented Applications

 

 

Object-oriented programming languages exist to help you create beautiful, straightforward applications that are easy to change and simple to extend. Unfortunately, the world is awash with object-oriented (OO) applications that are difficult to understand and expensive to change. Practical Object-Oriented Design, Second Edition, immerses you in an OO mindset and teaches you powerful, real-world, object-oriented design techniques with simple and practical examples.

 

Sandi Metz demonstrates how to build new applications that can “survive success” and repair existing applications that have become impossible to change. Each technique is illustrated with extended examples in the easy-to-understand Ruby programming language, all downloadable from the companion website, poodr.com. Fully updated for Ruby 2.5, this guide shows how to

  • Decide what belongs in a single class
  • Avoid entangling objects that should be kept separate
  • Define flexible interfaces among objects
  • Reduce programming overhead costs with duck typing
  • Successfully apply inheritance
  • Build objects via composition

Whatever your previous object-oriented experience, this concise guide will help you achieve the superior outcomes you’re looking for.

 

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

商品描述(中文翻譯)

《實用物件導向設計指南:撰寫易於維護、管理、滿意且強大的物件導向應用程式的完整指南》

物件導向程式語言的存在是為了幫助您建立美觀、直觀的應用程式,這些應用程式易於更改且簡單擴展。然而,現實世界中充斥著難以理解且昂貴的物件導向(OO)應用程式。《實用物件導向設計,第二版》將您融入物件導向思維,並以簡單實用的例子教授您強大的、實用的物件導向設計技巧。

Sandi Metz 示範如何建立能夠「應對成功」的新應用程式,並修復已變得無法更改的現有應用程式。每個技巧都以易於理解的 Ruby 程式語言進行延伸範例展示,所有範例可從附帶網站 poodr.com 下載。本指南已完全更新至 Ruby 2.5,展示了以下內容:

- 決定何者應該屬於單一類別
- 避免交織在一起的應該保持分離的物件
- 定義物件之間的靈活介面
- 透過鴨子類型減少程式開銷成本
- 成功應用繼承
- 透過組合建立物件

無論您之前的物件導向經驗如何,這本簡明指南都將幫助您實現您所追求的卓越成果。

請在書中查看詳細資訊,以便註冊以便方便地獲取下載、更新和/或更正。