国产第1页_91在线亚洲_中文字幕成人_99久久久久久_五月宗合网_久久久久国产一区二区三区四区

讀書月攻略拿走直接抄!
歡迎光臨中圖網 請 | 注冊
> >>
Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版)

包郵 Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版)

出版社:電子工業出版社出版時間:2016-04-01
開本: 16開 頁數: 211
中 圖 價:¥39.4(6.1折) 定價  ¥65.0 登錄后可看到會員價
加入購物車 收藏
開年大促, 全場包郵
?新疆、西藏除外
本類五星書更多>

Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版) 版權信息

Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版) 本書特色

本書是作者peter j. jones近十年ruby開發經驗的結晶。他利用48個ruby實戰案例,揭示了ruby鮮有人知的特點、難點和習慣用法。每種實踐案例都包含了具體的、實用的、組織清晰的指導方針,細致的建議,詳細的專業理由,并通過示例代碼闡明。本書為ruby開發的每個主要領域都提供了切實可行的建議,從模塊到內存,再到元編程。旨在通過全面地介紹ruby編程技術,幫助ruby程序員及愛好者寫出更健壯、更高效、更易維護的和運行的代碼。適合ruby程序員及愛好者閱讀。

Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版) 內容簡介

本書不提倡死板地遵守規則,而是希望通過完整的ruby編程技術講解,幫助你系統地提高代碼質量。主要特性包括:*怎樣避免與ruby有時讓人出乎意料的特性相關的陷阱*為了成功掌握rails(和其他大型框架)你應該知道的繼承等級體系*如何通過一些被誤解的方法利用集合完成非常有用的工作*更好地使用異常來提高代碼的可靠性*強大的元編程方法(和避免使用的技術)*切實可行的高效測試方案,包括minitest單元測試和spec測試*怎樣可靠地管理rubygem依賴*怎樣創建基本的ruby內存管理和顯示工具*怎樣通過理解ruby語言解釋器的內部實現來提高代碼的執行效率 

Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版) 目錄

序言前言致謝關于作者chapter 1: accustoming yourself to rubyitem 1: understand what ruby considers to be trueitem 2: treat all objects as if they could be nilitem 3: avoid ruby’s cryptic perlismsitem 4: be aware that constants are mutableitem 5: pay attention to run-time warningschapter 2: classes, objects, and modulesitem 6: know how ruby builds inheritance hierarchiesitem 7: be aware of the different behaviors of superitem 8: invoke super when initializing subclassesitem 9: be alert for ruby’s most vexing parseitem 10: prefer struct to hash for structured dataitem 11: create namespaces by nesting code in modulesitem 12: understand the different flavors of equalityitem 13: implement comparison via “<=>” and the comparable moduleitem 14: share private state through protected methodsitem 15: prefer class instance variables to class variableschapter 3: collectionsitem 16: duplicate collections passed as arguments before mutating themitem 17: use the array method to convert nil and scalar objects into arraysitem 18: consider set for efficient element inclusion checkingitem 19: know how to fold collections with reduceitem 20: consider using a default hash valueitem 21: prefer delegation to inheriting from collection classeschapter 4: exceptionsitem 22: prefer custom exceptions to raising stringsitem 23: rescue the most specific exception possibleitem 24: manage resources with blocks and ensureitem 25: exit ensure clauses by flowing off the enditem 26: bound retry attempts, vary their frequency, and keep an audit trailitem 27: prefer throw to raise for jumping out of scopechapter 5: metaprogrammingitem 28: familiarize yourself with module and class hooksitem 29: invoke super from within class hooksitem 30: prefer define_method to method_missingitem 31: know the difference between the variants of evalitem 32: consider alternatives to monkey patchingitem 33: invoke modified methods with alias chainingitem 34: consider supporting differences in proc arityitem 35: think carefully before using module prependingchapter 6: testingitem 36: familiarize yourself with minitest unit testingitem 37: familiarize yourself with minitest spec testingitem 38: simulate determinism with mock objectsitem 39: strive for effectively tested codechapter 7: tools and librariesitem 40: know how to work with ruby documentationitem 41: be aware of irb’s advanced featuresitem 42: manage gem dependencies with bundleritem 43: specify an upper bound for gem dependencieschapter 8: memory management and performanceitem 44: familiarize yourself with ruby’s garbage collectoritem 45: create resource safety nets with finalizersitem 46: be aware of ruby profiling toolsitem 47: avoid object literals in loopsitem 48: consider memoizing expensive computationsepilogueindex
展開全部

Effective Ruby編寫高質量Ruby代碼的48個有效方法-(英文版) 作者簡介

Peter J. Jones是一個自由軟件開發者,還是Devalot.com編程研討組的高級導師。他從2005年起就開始使用Ruby編程,為幾屆編程研討組寫過教案并教過學,包括為Ruby初學者準備的11周的課程。

商品評論(0條)
暫無評論……
書友推薦
編輯推薦
返回頂部
中圖網
在線客服
主站蜘蛛池模板: 久久久免费视频观看 | 老汉影视永久免费视频 | 男男19禁啪啪无遮挡免费 | 欧美一区二区三区电影 | 综合精品一区 | 毛片三级在线观看 | 一级做受毛片免费大片 | 国产精品一区二区三区久久 | 97久久超碰福利国产精品… | 少妇久久久久久被弄高潮 | 91精品国产高清久久久久久91 | 久久www免费人成_看片高清 | 国产丝袜视频在线观看 | 一区国严二区亚洲三区 | 国产精品1区 2区 3区 | 黄色片网站日本 | 天干天干天啪啪夜爽爽av | 亚洲国产精品久久艾草 | 欧美色a电影精品aaaa | 久久亚洲精品成人av无码网站 | 久久久久国产成人精品 | 人妻精品久久久久中文字幕69 | 久久亚洲国产欧洲精品一 | 麻豆久久亚洲av成人无码电影 | 无码人妻丰满熟妇区五十路 | 国精产品一品二品国在线 | 人人澡人摸人人添 | 在线一区二区三区 | 久久久久久无码av成人影院 | 又大又粗又长的高潮视频 | 日本一道本中文字幕 | 欧美mv日韩mv国产网站app | 国内精品久久久久影院优 | 久久月| 无码人妻久久一区二区三区不卡 | 亚洲国产成人综合 | 国产好大好爽久久久久久久 | 欧美自拍视频在线 | 亚洲免费视频播放 | 91成人午夜在线精品 | 一级免费黄色大片 |