買這商品的人也買了...
-
$1,986Code Complete: A Practical Handbook of Software Construction, 2/e (Paperback)
-
$1,670$1,587 -
$880$695 -
$299Enterprise Integration with Ruby (Paperback)
-
$299Advanced Rails Recipes: 72 New Ways to Build Stunning Rails Apps (Paperback)
-
$2,190$2,081 -
$550$468 -
$1,221Enterprise Recipes with Ruby and Rails (Paperback)
-
$580$522 -
$680$537 -
$560$504 -
$1,575$1,496 -
$820$648 -
$580$458 -
$580$493 -
$620$484 -
$680$537 -
$650$553 -
$550$468 -
$490$417 -
$680$578 -
$780$616 -
$500$425 -
$350$263 -
$490$417
相關主題
商品描述
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more.
Ruby Best Practices will help you:
- Understand the secret powers unlocked by Ruby's code blocks
- Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly
- Discover the ins and outs of testing and debugging, and how to design for testability
- Learn to write faster code by keeping things simple
- Develop strategies for text processing and file management, including regular expressions
- Understand how and why things can go wrong
- Reduce cultural barriers by leveraging Ruby's multilingual capabilities
This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.
商品描述(中文翻譯)
如何用Ruby寫出真正優雅的程式碼?《Ruby最佳實踐》是為那些想要像經驗豐富的Ruby開發者一樣使用Ruby的程式設計師而寫的。這本簡潔的書由Ruby專案Prawn的開發者撰寫,解釋了如何使用Ruby設計美觀的API和特定領域語言,以及如何使用能簡化程式碼並提高生產力的函數式編程思想和技巧。你將學習如何撰寫可讀性強、表達力強的程式碼,以及更多其他技巧。
《Ruby最佳實踐》將幫助你:
- 理解Ruby的程式碼塊所解鎖的秘密力量
- 學習如何在不破壞程式碼的情況下彎曲Ruby程式碼,例如即時混入模組
- 探索測試和除錯的方方面面,以及如何設計可測試性
- 通過保持簡單來撰寫更快的程式碼
- 開發文本處理和文件管理的策略,包括正則表達式
- 理解事情為什麼會出錯以及如何解決
- 利用Ruby的多語言能力來減少文化障礙
本書還提供了關於通過測試驅動程式碼、設計API和項目維護的全面章節。通過《Ruby最佳實踐》,學會如何充分利用這個豐富而美麗的語言。