|
作者:Gregory Brown, Brown Gregory
出版日期:June 25, 2009
出版社:O'Reilly
页数:328
ISBN:9780596523008
文件格式:PDF
How do you write truly elegant code with Ruby? Ruby Best Practicesis for programmers who want to use Ruby as experienced Rubyists do.Written by the developer of the Ruby project Prawn, this concise bookexplains how to design beautiful APIs and domain-specific languageswith Ruby, as well as how to work with functional programming ideas andtechniques that can simplify your code and make you more productive.You’ll learn how to write code that’s readable, expressive, and muchmore.
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 codethrough tests, designing APIs, and project maintenance. Learn how tomake the most of this rich, beautiful language with Ruby Best Practices. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|