Klicka på en bild för att gå till Google Book Search.
Laddar... Refactoring: Improving the Design of Existing Code (1999)av Martin Fowler
Laddar...
Gå med i LibraryThing för att få reda på om du skulle tycka om den här boken. Det finns inga diskussioner på LibraryThing om den här boken. Kezdő programozóként nem igazán szerettem refactorozni. Mindig az volt az érzésem, hogy azért van erre szükség, mert nem elég jól terveztem meg a programot. A következő programomnál jobban igyekeztem tervezni (ez persze hasznos) de előbb-utóbb megint refactorra volt szükségem. Később persze rájöttem, hogy lehetetlen egy programot elsőre tökéletesre tervezni, mert folyamatosan változik a megoldandó probléma, illetve gyakran célszerűbb egy egyszerűbb tervvel kezdeni és későbbi lépéseknél módosítani. A könyv legnagyobb előnye szerintem az, hogy meggyőzi az olvasót arról, hogy a refactor nem egy szükséges rossz, hanem egy természetes és hasznos része a fejlesztésnek. Azt gondolom minden olyan programozónak hasznos lehet ez a könyv aki folyamatosan hosszú időn keresztül fejleszt egy programot. Ha teljesen kezdőként nem is, néhány évnyi programozás után nagyon fontos ezt a könyvet elolvasni. A könyv legnagyobb része lehetséges refactorozásokat sorol fel, elmagyarázza miért lehet szükségünk arra a refactorra, és minden esetben példát is mutat rá. A példáknál java nyelvet használ az író. A könyv ettől még más programozóknak is hasznos lehet, de a java programozóknak a leghasznosabb. Itt a java kicsit régi verzióját használja a szerző, egy kis frissítés ráférne a könyvre. This is the book that moved refactoring from the focus of a narrow community to a general concept. Illuminating, well-written, and helpful, it strikes an effective balance between the concrete and the abstract. Any OO developer should have this on a shelf beside Design Patterns, with which it is nearly contemporary. inga recensioner | lägg till en recension
Ingår i serien
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. Inga biblioteksbeskrivningar kunde hittas. |
Pågående diskussionerIngen/ingaPopulära omslag
Google Books — Laddar... GenrerMelvil Decimal System (DDC)005.14Information Computing and Information Computer programming, programs, data, security Programming Software TestingKlassifikation enligt LCBetygMedelbetyg:
Är det här du? |
On the other hand, I picked up this book at the right time. At work, my project is in the midst of a refactoring project. I am in the middle of changing PHP code from modular functions to object-orientation. The aim of this transition is to enhance the scalability of the project and ease the writing of documentation. I generally like to peer "beneath the surface" of skills that I acquire; this book has indeed enlightened my mind to details of what is going on in my code rewrite.
Some of this book is incredibly tedious. It details how to change code from one format to another. It's work that I let my fingers do more of - and my brain less of! But the book also frames how to do this work and why it is so important. It ties together intellectual "loose ends" which might not be tied together by the programmer who simply dives "head first" into the project.
Fowler writes in tandem with a research seminar at the University of Illinois who have pioneered object-oriented techniques in Smalltalk and then Java and C . They tackle the concepts of refactoring more than how to tackle the specifics of coding in a language. I prefer their theoretical approach to more common approaches drenched in technical lingo and programming tools. This book was worth its time.
( )