| | | Effective Ruby(編寫高質量Ruby代碼的48個有效方法英文版)/原味精品書繫 | 該商品所屬分類:計算機/網絡 -> 網絡技術 | 【市場價】 | 588-852元 | 【優惠價】 | 368-533元 | 【介質】 | book | 【ISBN】 | 9787121273063 | 【折扣說明】 | 一次購物滿999元台幣免運費+贈品 一次購物滿2000元台幣95折+免運費+贈品 一次購物滿3000元台幣92折+免運費+贈品 一次購物滿4000元台幣88折+免運費+贈品
| 【本期贈品】 | ①優質無紡布環保袋,做工棒!②品牌簽字筆 ③品牌手帕紙巾
| |
版本 | 正版全新電子版PDF檔 | 您已选择: | 正版全新 | 溫馨提示:如果有多種選項,請先選擇再點擊加入購物車。*. 電子圖書價格是0.69折,例如了得網價格是100元,電子書pdf的價格則是69元。 *. 購買電子書不支持貨到付款,購買時選擇atm或者超商、PayPal付款。付款後1-24小時內通過郵件傳輸給您。 *. 如果收到的電子書不滿意,可以聯絡我們退款。謝謝。 | | | | 內容介紹 | |
-
出版社:電子工業
-
ISBN:9787121273063
-
作者:(美)瓊斯
-
頁數:211
-
出版日期:2016-04-01
-
印刷日期:2016-04-01
-
包裝:平裝
-
開本:16開
-
版次:1
-
印次:1
-
字數:275千字
-
《Effective Ruby(編寫高質量Ruby代碼的48個 有效方法英文版)》是作者瓊斯近十年Ruby開發經驗 的結晶。書中為Ruby開發的每個主要領域提供了切實 可行的建議,從模塊到內存,再到元編程。作者利用 48個Ruby實戰案例,揭示了Ruby鮮有人知的風格、特 色、缺陷,以及對代碼行為和執行極具影響的復雜性 。每種實踐方法都包含了具體的、實用的、組織清晰 的指導方針,細致的建議,詳細的專業理由,以及詳 盡的示例代碼講解。 本書旨在通過全面地介紹Ruby編程技術,幫助 Ruby程序員及愛好者寫出更健壯、更高效、更易維護 和運行的代碼。
-
序言 前言 致謝 關於作者 Chapter 1: Accustoming Yourself to Ruby Item 1: Understand What Ruby Considers to Be True Item 2: Treat All Objects as If They Could Be nil Item 3: Avoid Ruby’s Cryptic Perlisms Item 4: Be Aware That Constants Are Mutable Item 5: Pay Attention to Run-Time Warnings Chapter 2: Classes, Objects, and Modules Item 6: Know How Ruby Builds Inheritance Hierarchies Item 7: Be Aware of the Different Behaviors of super Item 8: Invoke super When Initializing Subclasses Item 9: Be Alert for Ruby’s Most Vexing Parse Item 10: Prefer Struct to Hash for Structured Data Item 11: Create Namespaces by Nesting Code in Modules Item 12: Understand the Different Flavors of Equality Item 13: Implement Comparison via “<=>” and the Comparable Module Item 14: Share Private State through Protected Methods Item 15: Prefer Class Instance Variables to Class Variables Chapter 3: Collections Item 16: Duplicate Collections Passed as Arguments before Mutating Them Item 17: Use the Array Method to Convert nil and Scalar Objects into Arrays Item 18: Consider Set for Efficient Element Inclusion Checking Item 19: Know How to Fold Collections with reduce Item 20: Consider Using a Default Hash Value Item 21: Prefer Delegation to Inheriting from Collection Classes Chapter 4: Exceptions Item 22: Prefer Custom Exceptions to Raising Strings Item 23: Rescue the Most Specific Exception Possible Item 24: Manage Resources with Blocks and ensure Item 25: Exit ensure Clauses by Flowing Off the End Item 26: Bound retry Attempts, Vary Their Frequency, and Keep an Audit Trail Item 27: Prefer throw to raise for Jumping Out of Scope Chapter 5: Metaprogramming Item 28: Familiarize Yourself with Module and Class Hooks Item 29: Invoke super from within Class Hooks Item 30: Prefer define_method to method_missing Item 31: Know the Difference between the Variants of eval Item 32: Consider Alternatives to Monkey Patching Item 33: Invoke Modified Methods with Alias Chaining Item 34: Consider Supporting Differences in Proc Arity Item 35: Think Carefully Before Using Module Prepending Chapter 6: Testing Item 36: Familiarize Yourself with MiniTest Unit Testing Item 37: Familiarize Yourself with MiniTest Spec Testing Item 38: Simulate Determinism with Mock Objects Item 39: Strive for Effectively Tested Code Chapter 7: Tools and Libraries Item 40: Know How to Work with Ruby Documentation Item 41: Be Aware of IRB’s Advanced Features Item 42: Manage Gem Dependencies with Bundler Item 43: Specify an Upper Bound for Gem Dependencies Chapter 8: Memory Management and Performance Item 44: Familiarize Yourself with Ruby’s Garbage Collector Item 45: Create Resource Safety Nets with Finalizers Item 46: Be Aware of Ruby Profiling Tools Item 47: Avoid Object Literals in Loops Item 48: Consider Memoizing Expensive Computations Epilogue Index
| | | | | |