Refactoring

Refactoring pdf epub mobi txt 电子书 下载 2025

出版者:Addison Wesley
作者:Martin Fowler
出品人:
页数:448
译者:
出版时间:2018-11-12
价格:GBP 43.99
装帧:Hardcover
isbn号码:9780134757599
丛书系列:
图书标签:
  • refactor
  • Programming
  • 程序设计
  • 计算机
  • JavaScript
  • 重构
  • 2nd
  • 软件工程
  • 重构
  • 代码质量
  • 软件设计
  • 代码改进
  • 编程实践
  • 软件工程
  • 代码维护
  • 设计模式
  • 可读性
  • 清洁代码
想要找书就要到 小美书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

具体描述

Refactoring is about improving the design of existing code. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its internal structure. With refactoring you can even take a bad design and rework it into a good one. This book offers a thorough discussion of the principles of refactoring, including where to spot opportunities for refactoring, and how to set up the required tests. There is also a catalog of more than 40 proven refactorings with details as to when and why to use the refactoring, step by step instructions for implementing it, and an example illustrating how it works The book is written using Java as its principle language, but the ideas are applicable to any OO language.

Features

The first update to a classic that is the standard reference for refactoring in over 15 years

Enhanced, web-based features including interactive examples, video snippets, code highlighting

Extensive use of JavaScript examples

New to This Edition

Martin Fowler is retaining everything that made Refactoring one of the world’s most popular and influential computer books, while updating with JavaScript examples throughout (to address many programmers’ current preferences) and reflecting today’s programming paradigms. The book’s catalog of individual refactorings has been updated, revised, and expanded.

作者简介

Martin Fowler is Chief Scientist at ThoughtWorks. He describes himself as “an author, speaker, consultant and general loud-mouth on software development.” Fowler concentrates on designing enterprise software: exploring what makes a good design and what practices are needed to create one.

目录信息

Foreword to the First Edition
Preface
Chapter 1: Refactoring: A First Example
Chapter 2: Principles in Refactoring
Chapter 3: Bad Smells in Code
Chapter 4: Building Tests
Chapter 5: Introducing the Catalog
Chapter 6: A First Set of Refactorings
Chapter 7: Encapsulation
Chapter 8: Moving Features
Chapter 9: Organizing Data
Chapter 10: Simplifying Conditional Logic
Chapter 11: Refactoring APIs
Chapter 12: Dealing with Inheritance
Bibliography
Index
· · · · · · (收起)

读后感

评分

这本书一开始读的是英文,不过Martin Fowler本身好像就不是一个Native的英语国家的人。所以他的英文写的也是比较容易懂的。 这个书第一章是一个完整的重构的例子,虽然现实中不可能如此完美而孜孜不倦的重构,不过作为一个例子,是非常的好的,让你能为重构的力量所震...  

评分

无容置疑,这是一本经典的书,正如推荐所说,是这本书让重构这个看似高深莫测的话题走进了寻常程序员的世界。 可是我们不得不注意这本书的出版日期,是七八年前,和设计模式一样,当年的设计模式那是高手的工具,开口闭口带那么一两句,工厂,单例,会让人对你崇拜至死。可是...  

评分

第一次看有网友极力推荐这本书,就买了一本英文的来看,一下子就被吸引住了。 原来觉得编码可以天马行空,总想看看那些高手是怎么写代码的,现在觉得自己好像也是高手了,至少可以看得出哪些代码好,哪些代码差。真是感谢Martin Flower。 现在自己做项目经理了,对于新来的有一...  

评分

纸张很赞,只是排版松散,书就比较厚了。 本人对代码有洁癖,不自觉的一直会调整过去的代码,也需要对照大师总结的规律反思一下。 重构的基础能力在于能够嗅出代码中的坏味道(Bad smell),甚至反模式(Anti-pattern),因此要结合相关书籍一起阅读了。 最近在看的肖鹏一篇文...  

评分

无论你是初出江湖的编码小农,还是深耕多年的程序大牛,这本书都值得你深度品读。 常常我们说的代码简洁性、易读性、健壮性,都并非一日之功,需要在日常的迭代中不断持续的进行重构,重构的事情我们常常挂在嘴边,却往往无从下手,本书以作者丰富的编程经验和思想,总结了一套...  

用户评价

评分

学习了JavaScript的一些新语法。

评分

虽然例子是用JS写的,思想都是通的。前几章看完帮助非常大,很多平时写代码时候会纠结的地方从这里可以找到答案。讲的原则可操作性非常强,很多思想可以直接影响现在的工作方式。具体每个重构技巧比较繁杂,没仔细看完,可以有需要再拿出来翻。印象深刻的几个点:“不要专门和老板说我要重构,而是作为功能的一部分”,“保持修改后的代码比现在的代码好”,“大部分情况:可读性>性能”,“profiling找性能瓶颈,直觉大部分情况是错的”解决。

评分

比之第一版,更注重细节功夫,重构过程更完备更流程,更注重行为保持,大规模的重构全部删去。可以体现作者的理念:于细节处见成败。

评分

第二版有了不少改进,比如代码换成了js(用的是最新的ES语法),重构都配了示意图。收获非常大。

评分

第二版有了不少改进,比如代码换成了js(用的是最新的ES语法),重构都配了示意图。收获非常大。

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有