Refactoring: improvement of an existing code
By then as the objective technology - in particular language Java - became usual business, there was a plenty badly designed, inefficient and of little use to support and expansion of applications. Professional developers of program systems see all more clearly, it is how much difficult to deal with such “not optimum” heritage. Some years experts in the field of objective programming apply an extending set of the receptions, called to improve structural integrity and productivity of such programs. This approach named refactoring, till this moment remained territory of experts as it was not undertaken attempts to transfer a professional knowledge in the form accessible to all developers.
In the given book Martin Fowler shows, how software developers can realize essential benefits of this new technology where opportunities of change of structure usually lay and how to start alteration of the bad project in good. Each step refactoring is simple - at first sight too simple to make it. It can be moving of a field from one class in another, removal of any code from a method and its transformation into an independent method or even moving of a code on hierarchy of classes. Each separate step can seem elementary, but an aggregate effect of such small changes in a status considerably to improve the project. Refactoring is correct way of prevention of disintegration of the program.
Besides the description of various receptions the author gives the detailed catalogue including more seventy рефакторингов, and also useful instructions on their application, step-by-step instructions and practical examples. Examples are written on Java, but ideas adding to any object-oriented programming language.
Opinions of readers
Kurt Frank, Wilmington, state Northern Carolina, the USA
The name of this book speaks for itself. Here there is no loud advertising, clear only devoted a theory, magic crystals or ” a silver bullet “. Methods stated in the book are clear, brief and have direct practical value, be you the beginner or the guru. I cannot even recollect other book about which it would be possible to tell the same. Buy this book, and you will raise a level of the code.
P.S. The firm cover and a table-bookmark serve as a pleasant and graceful stroke, characteristic for the classical book.
The reader “jschnyde” from Сарраса, canton Vaud, Switzerland
It is one of the best books read through by me on programming on Java, and I am going to its prohonour once again! She resolutely changes your style of programming, resulting examples of correct and wrong actions and proving it. Рефакторинг, applied in connection with JUnit (the environment of testing for Java), this best, that we, ««-developers, could receive after patterns of designing (Design Patterns)! I Recommend this book to any skilled or beginning ««-programmers. That is still good, it is pleasant to read it!
Mark Nichols from the Charleston, state of South Carolina, the USA
For last years I have bought tens technical books. Best of them became directories, the worst turned to a colourful ornament book. “Refactoring” represents a masterpiece. I red it from cover to cover. And even an once to me was enough to see an own code and a code which should be supported, in absolutely new light. Those subtleties which I did not notice earlier, are evident from the screen. IMHO, this book is better, than ” Design Patterns ” (” Patterns of designing “), in fact main part of the career I worked with already existing code. Patterns and receptions which Fowler, etc. here catalogued, are simply invaluable. Gallant!
A certain reader from Huntington the Scourge, state of California, the USA
READ THIS BOOK!!! Owing to her you become better as the programmer, at least, on Java, Smalltalk, C ++, and is possible and in ANY language. To read this book containing fresh ideas of leaders ОО about tens of ways of improvement of an available code, - pleasure.
The reader “aricart” from the Cottage Grove, state of Minnesota, the USA
For many reasons it is the fantastic book. She unostentatiously learns, that itself represents and as good style, - this reason in my list the first appears in realization. Similar attempts are undertaken in many books, but only, on my taste, quite successful there was this. Here it is shown how to find out a code ” with smell “, demanding attention. It is even more interesting to observe, how mediocre or even the bad program can be transformed in the elegant sample of designing who is easier to read and understand.
Michael Geisler, Australia
In sphere of information technologies I work over 10 years. It is the first book to which I address almost daily. The significant part of its contents is clear to me intuitively or known owing to the saved up experience, however the author excellently summarizes purpose of this book in the foreword. ‘ When I wish to make something, … the catalogue prompts me a suitable safe, step-by-step way ‘. This book should be on a desktop of each programmer.