Last night the book named [Data Structure with Java hubbed] was closed. when talked about the advantage that I have taken of, with the help of that book I familize myself with data structure, especially the Java Collection framework. I think it important for me to further get my position promptation. so today night I prepare to start a new book, whose name is O
. The same modification to the inheritance system10. The case statement must be modified in the same way.11. The data used at the same time is not organized in the form of classes.If you see that you often operate on the same group of data, you should also ask yourself whether you should put the data and its operations
Organized into a class.12. member functions use more features of other classes than their own classes.This implies that this subroutine should be put into another class and then
Reproduced from: http://blog.csdn.net/lovelion/article/details/17970147
In 2009, Sean Chambers published an article in his blog about the refactoring:useful Refactoring techniques have to know series, which is published every day to introduce a A kind of reconstruction means, 31 consecutive articles, so the name "reconstructed 31 days: You should master the means of refactoring." In addition, Sean chambers
Refactoring is something that must be done after the project is done to a certain extent. Code refactoring can improve existing code design and enhance the extensibility and maintainability of existing projects. As the needs of the project continue to iterate and the requirements are constantly being updated, the code we write in the project is always changing. In a new requirement, you add some feature mod
for reconstruction. Do not refactor the code that you do not intend to change or will not change.
Scratch Refactoring)
Michael Feather's "Working processing tively with Legacy Code" book mentions the concept of Scratch Refactoring. Martin Fowler calls it "Refactoring for understanding ". This is used to deal with the
Code Refactoring (vi): Code refactoring full Case
Whatever you do, do it finish. In front of the previous 5 blogs about refactoring, which are categorized to introduce some refactoring techniques. Today's blog uses a complete example to summarize the previous refactoring ru
Use and refactoring shortcuts of Eclipse refactoring function, and eclipse refactoringWhat is refactoring? After the code is written, improve its design.Reconstruction classification: physical structure, class hierarchy, and class internal structure.
Name
Shortcut Key
Literal Translation
Scope
Description
Rename
Alt + Shift + R
()) {Countrecoder.setcountofforthtage (Countentry.getcount ());
else if (5 = Countentry.getcode ()) {Countrecoder.setcountoffirthstage (Countentry.getcount ());
else if (6 = Countentry.getcode ()) {Countrecoder.setcountofsixthstage (Countentry.getcount ());
} return Countrecoder; }
The Countrecoder object is a simple Java Bean that holds data entries for each of the six states of the day, and provides get and set methods. Countentry is a data entry record for each state in the
reconstruction, this article is to comb the reconstruction technology and lead us to re-understand the goal and the starting point of reconstruction, the principle behind the reconstruction technique and the practice way. Finally, we introduce the C/C++ experiences, techniques and tools of implementing refactoring efficiently in practice.What is refactoring? Definition of refactoringMartin Fowler the two d
This article uses Eclipse's automatic refactoring to refactor an instance of a program to explore the extent to which eclipse automatic refactoring can assist in refactoring the process. Example of a program instance using the book refactoring:improving the design of Existing code.Eclipse's automatic
Chapter II Reconstruction PrinciplesWhat is refactoring?Refactoring (noun): an adjustment to the internal structure of software to improve its understanding and reduce its cost of modification without changing the "observed behavior of the software".Refactoring (verb): Use a series of refactoring guidelines (techniques
Recommended five excellent PHP code refactoring tools, five PHP code refactoring
In software engineering, the term refactoring code usually refers to modifying the source code without changing the external behavior of the code. Software refactoring needs to be done with tools, and
Five excellent PHP code reconstruction tools and five php code reconstruction tools are recommended. Five excellent PHP code refactoring tools are recommended. in software engineering, the word refactoring code usually refers to modifying the source code without changing the external behavior of the code. Five excellent PHP code reconstruction tools and five php code reconstruction tools are recommended.
I
You've been thinking about refactoring a very old module, but you just look at it and you get sick. Documents, strange functions and names of classes, and so on, the whole module was like a ragged man with fetters, though he could walk, but it was already uncomfortable. In the face of this situation, the real programmers will not give up, they will accept the challenge of serious analysis, that is afraid to rewrite also at the expense. Eventually that
Article Description: about response pages
As a person in the wireless department, it is not possible to understand mobile devices. And as a wireless reconfiguration, will not write a response page is not. And I, a wireless refactoring, before I do a mobile end of the project, does not write the response page, so, strictly speaking, before this project, I was an unqualified wireless refactoring.
Article Introduction: How to do a good refactoring.
Use this title because there is an open-ended discussion in the previous group: What is a good refactoring?In fact, "good" and "bad" has always been relative, because everyone in the eyes of the "good" and "bad" standard is not the same as from their own point of view: How to do a good refactoring?
Overall aerial viewRecently, I read a book called "Big Talk Refactoring", which uses a lot of examples from the practice, from coding, design, organization, architecture, testing, evaluation, response to changes in requirements, and so on, in-depth and multi-angle how we should reconstruct, constructively put forward a highly efficient and feasible refactoring se
Web page Production WEBJX article introduction: Web Refactoring Division's advanced strategy.
All along, I would like to hope that through their own sharing, can let more peers have harvested, especially a certain foundation, has been to the bottleneck of the students to find a breakthrough. Of course, my own experience is too little, this hope is purely yy, but there are goals at least the direction of doing things, I will do it on my own.
Refactoring doesn't mean better performance, but refactoring can make performance optimizations easier!!! about writing high-performance codePrerequisites for writing high-performance code: first you have to have a program that can be adjusted. Just as people ask you how to get along with your girlfriend, first you have to have a girlfriend.Ways to write high-performance code: 1. Time Budget LawAllocate a
It's a new year, and I'm here to write this ghost.This chapter of refactoring is mainly about a test framework for Java, and I just jumpedIt's just a simple look at the idea.
Refactoring requires a good testing system, and we need to construct a system for refactoring, which is the prerequisite for refactoring
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.