找回密码
 注册
搜索
热搜: java php web
查看: 444|回复: 2

Refactoring in Ruby

[复制链接]
发表于 2010-1-2 10:05:57 | 显示全部楼层 |阅读模式


作者:William C. Wake, Kevin Rutherford
出版日期:October 26, 2009
出版社:Addison Wesley
页数:288
ISBN:ISBN-10: 0321545044 ISBN-13: 978-0321545046
文件格式:PDF

The First Hands-On, Practical, All-Ruby Refactoring Workbook!


Refactoring–the art of improving the designof existing code–has taken the world by storm. So has Ruby. Now, forthe first time, there’s a refactoring workbook designed from the groundup for the dynamic Ruby language.

Refactoring in Ruby givesyou all the realistic, hands-on practice you need to refactor Ruby codequickly and effectively. You’ll discover how to recognize “codesmells,” which signal opportunities for improvement, and then perfectyour program’s design one small, safe step at a time.

The book shows you when and how to refactorwith both legacy code and during new test-driven development, and walksyou through real-world refactoring in detail. The workbook concludeswith several applications designed to help practice refactoring inrealistic domains, plus a handy code review checklist you’ll refer toagain and again. Along the way, you’ll learn powerful lessons aboutdesigning higher quality Ruby software–lessons that will enable you toexperience the joy of writing consistently great code.

Refactoring in Ruby will help you
  • Recognize why poor code design occurs, so you can prevent it from occurring in your own code
  • Master better design techniques that lead to more efficient, reliable, and maintainable software
  • Fix code that’s too long, large, or difficult to follow
  • Ferret out duplication, and express each idea “once and only once”
  • Recognize missing or inadequately formed classes
  • Simplify overly complex relationships between classes and their subclasses
  • Achieve the right balance of responsibilities among objects
  • Make your code easier to test and change
  • Cope with incomplete library modules, and fix runaway dependencies
  • Learn the next steps to take after you refactor

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2010-1-2 11:00:58 | 显示全部楼层
才看到,lz是 石头, 著名资源供应商~

评分

1

查看全部评分

回复

使用道具 举报

发表于 2010-1-2 21:45:17 | 显示全部楼层
Good, 好书
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|软晨网(RuanChen.com)

GMT+8, 2024-11-15 06:05

Powered by Discuz! X3.5

Copyright © 2001-2023 Tencent Cloud.

快速回复 返回顶部 返回列表