关于重构的书的建议?

时间:2023-02-05 14:11:22

Will it be easy for a C++ developer to read Refactoring: Improving the Design of Existing Code

C ++开发人员是否容易阅读重构:改进现有代码的设计

Is there any other book that I should read about refactoring? Feel free to add any articles on refactoring.

还有其他关于重构的书吗?随意添加任何有关重构的文章。

8 个解决方案

#1


If you work with legacy code then it may be worth getting Working Effectively with Legacy Code by Michael Feathers.

如果您使用遗留代码,那么Michael Feathers可能有效地使用Legacy Code。

#2


As far as I know there is no book about refactoring, that has examples in c++. Mostly it is Java sometimes it is C#. But the basic concepts are the same - so I do not see the problem with language mix.

据我所知,没有关于重构的书,这在c ++中有例子。主要是Java,有时它是C#。但基本概念是相同的 - 所以我没有看到语言混合的问题。

#3


I'm the author of Refactoring to Patterns. I have recently completed work on a multimedia album about Refactoring (in C++, Java, and soon, C#).

我是Refactoring to Patterns的作者。我最近完成了关于重构的多媒体专辑的工作(用C ++,Java,很快,C#)。

You can look at samples of this album here:

您可以在此处查看此相册的样本:

In addition, if you want to get good at recognizing what kind of code needs refactoring, you can consider studying my album on Code Smells as well. See

此外,如果你想要认识到哪种代码需要重构,你也可以考虑在Code Smells上学习我的专辑。看到

#4


Easy? Maybe yes, maybe no. Fact of the matter is, this book should apply to C++ because the principles it defines are transferable to java-like languages (C#, C++). It is definitely a recommended read.

简单?可能是,可能不是。事实上,本书应该适用于C ++,因为它定义的原则可以转换为类似Java的语言(C#,C ++)。这绝对是推荐读物。

#5


Yes, Refactoring will be an easy read for a C++ developer. The code examples are in Java, but Fowler doesn't do anything in the book that's very specific to that language. He doesn't use Java's Reflection API or build an Enterprise Application. :)

是的,对于C ++开发人员来说,重构将是一个简单的阅读。代码示例使用的是Java,但Fowler在本书中没有做任何与该语言非常相关的内容。他不使用Java的Reflection API或构建企业应用程序。 :)

The examples are all pretty straight-forward data classes that have a few responsibilities. You should have little trouble understanding what's going on.

这些示例都是非常简单的数据类,它们负有一些责任。理解正在发生的事情你应该没什么困难。

#6


Read a book called Refactoring by Martin Fowler.

阅读Martin Fowler所着的一本名为Refactoring的书。

#7


Refactoring to Patterns by Joshua Kerievsky

Joshua Kerievsky重构模式

Language used in the book shouldn't matter, the concept is what is important. This book is a practical approach to refactoring.

书中使用的语言无关紧要,概念是重要的。本书是一种重构的实用方法。

#8


I'm a "C++ developer" and I found it easy and interesting, and I had no trouble understanding the examples.

我是一名“C ++开发人员”,我发现它很简单有趣,而且我也很容易理解这些例子。

#1


If you work with legacy code then it may be worth getting Working Effectively with Legacy Code by Michael Feathers.

如果您使用遗留代码,那么Michael Feathers可能有效地使用Legacy Code。

#2


As far as I know there is no book about refactoring, that has examples in c++. Mostly it is Java sometimes it is C#. But the basic concepts are the same - so I do not see the problem with language mix.

据我所知,没有关于重构的书,这在c ++中有例子。主要是Java,有时它是C#。但基本概念是相同的 - 所以我没有看到语言混合的问题。

#3


I'm the author of Refactoring to Patterns. I have recently completed work on a multimedia album about Refactoring (in C++, Java, and soon, C#).

我是Refactoring to Patterns的作者。我最近完成了关于重构的多媒体专辑的工作(用C ++,Java,很快,C#)。

You can look at samples of this album here:

您可以在此处查看此相册的样本:

In addition, if you want to get good at recognizing what kind of code needs refactoring, you can consider studying my album on Code Smells as well. See

此外,如果你想要认识到哪种代码需要重构,你也可以考虑在Code Smells上学习我的专辑。看到

#4


Easy? Maybe yes, maybe no. Fact of the matter is, this book should apply to C++ because the principles it defines are transferable to java-like languages (C#, C++). It is definitely a recommended read.

简单?可能是,可能不是。事实上,本书应该适用于C ++,因为它定义的原则可以转换为类似Java的语言(C#,C ++)。这绝对是推荐读物。

#5


Yes, Refactoring will be an easy read for a C++ developer. The code examples are in Java, but Fowler doesn't do anything in the book that's very specific to that language. He doesn't use Java's Reflection API or build an Enterprise Application. :)

是的,对于C ++开发人员来说,重构将是一个简单的阅读。代码示例使用的是Java,但Fowler在本书中没有做任何与该语言非常相关的内容。他不使用Java的Reflection API或构建企业应用程序。 :)

The examples are all pretty straight-forward data classes that have a few responsibilities. You should have little trouble understanding what's going on.

这些示例都是非常简单的数据类,它们负有一些责任。理解正在发生的事情你应该没什么困难。

#6


Read a book called Refactoring by Martin Fowler.

阅读Martin Fowler所着的一本名为Refactoring的书。

#7


Refactoring to Patterns by Joshua Kerievsky

Joshua Kerievsky重构模式

Language used in the book shouldn't matter, the concept is what is important. This book is a practical approach to refactoring.

书中使用的语言无关紧要,概念是重要的。本书是一种重构的实用方法。

#8


I'm a "C++ developer" and I found it easy and interesting, and I had no trouble understanding the examples.

我是一名“C ++开发人员”,我发现它很简单有趣,而且我也很容易理解这些例子。