Download E-books Working Effectively with Legacy Code PDF

Get extra from your legacy platforms: extra functionality, performance, reliability, and manageability Is your code effortless to alter? are you able to get approximately on the spot suggestions in the event you do swap it? Do you recognize it? If the reply to any of those questions isn't any, you have got legacy code, and it really is draining money and time clear of your improvement efforts. during this publication, Michael Feathers bargains start-to-finish thoughts for operating extra successfully with huge, untested legacy code bases. This publication attracts on fabric Michael created for his popular item Mentor seminars: thoughts Michael has utilized in mentoring to assist 1000's of builders, technical managers, and testers convey their legacy structures lower than keep an eye on. including positive factors, solving insects, enhancing layout, optimizing functionality Getting legacy code right into a try harness Writing assessments that defend you opposed to introducing new difficulties options that may be used with any language or platform--with examples in Java, C++, C, and C# thoroughly settling on the place code adjustments have to be made dealing with legacy platforms that aren t object-oriented dealing with functions that don t appear to have any structureThis e-book additionally encompasses a catalog of twenty-four dependency-breaking recommendations that assist you paintings with software parts in isolation and make more secure adjustments. (c) Copyright Pearson schooling. All rights reserved.

Show description

Read or Download Working Effectively with Legacy Code PDF

Best Programming books

Herb Schildt's C++ Programming Cookbook

Your final "How-To" advisor to C++ Programming! mythical programming writer Herb Schildt stocks a few of his favourite programming ideas during this high-powered C++ "cookbook. " geared up for fast reference, every one "recipe" indicates find out how to accomplish a realistic programming activity. A recipe starts off with an inventory of key elements (classes, features, and headers) by way of step by step directions that convey easy methods to gather them right into a entire resolution.

Structure and Interpretation of Computer Programs - 2nd Edition (MIT Electrical Engineering and Computer Science)

Constitution and Interpretation of desktop courses has had a dramatic effect on computing device technological know-how curricula during the last decade. This long-awaited revision comprises adjustments in the course of the textual content. There are new implementations of many of the significant programming structures within the ebook, together with the interpreters and compilers, and the authors have included many small adjustments that replicate their adventure instructing the path at MIT because the first version was once released.

Effective C++: 55 Specific Ways to Improve Your Programs and Designs (3rd Edition)

“Every C++ expert wishes a duplicate of powerful C++. it really is an absolute must-read for a person taking into consideration doing critical C++ improvement. If you’ve by no means learn powerful C++ and also you imagine you recognize every little thing approximately C++, re-examine. ”— Steve Schirripa, software program Engineer, Google “C++ and the C++ neighborhood have grown up within the final fifteen years, and the 3rd version of potent C++ displays this.

Software Testing with Visual Studio 2010 (Microsoft Windows Development Series)

Use visible Studio 2010’s step forward checking out instruments to enhance caliber through the whole software program Lifecycle   jointly, visible Studio 2010 final, visible Studio try out specialist 2010, Lab administration 2010, and group origin Server provide Microsoft builders the main refined, well-integrated checking out resolution they’ve ever had.

Extra info for Working Effectively with Legacy Code

Show sample text content

Michael Feathers mfeathers@objectmentor. com www. objectmentor. com www. michaelfeathers. com creation tips on how to Use This ebook i attempted a number of various codecs sooner than determining the present one for this booklet. a few of the varied options and practices which are beneficial while operating with legacy code are tough to give an explanation for in isolation. the best adjustments frequently pass more uncomplicated for those who can locate seams, make pretend gadgets, and holiday dependencies utilizing a number of dependency-breaking concepts. i made a decision that one of the simplest ways to make the ebook approachable and convenient will be to arrange the majority of it (Part II, altering software program) in FAQ (frequently requested questions) structure. simply because particular strategies frequently require using different options, the FAQ chapters are seriously interlinked. In approximately each bankruptcy, you’ll locate references, in addition to web page numbers, for different chapters and sections that describe specific thoughts and refactorings. I ask for forgiveness if this reasons you to turn wildly during the publication as you try and locate solutions in your questions, yet i thought that you’d quite do this than learn the booklet disguise to hide, attempting to know the way all of the options function. In altering software program, I’ve attempted to handle quite common questions that arise in legacy code paintings. all of the chapters is termed after a selected challenge. This does make the bankruptcy titles fairly lengthy, yet optimistically, they'll let you quick discover a part that is helping you with the actual difficulties you're having. altering software program is bookended by way of a suite of introductory chapters (Part I, The Mechanics of swap) and a catalog of refactorings, that are very important in legacy code paintings (Part III, Dependency-Breaking Techniques). Please learn the introductory chapters, really bankruptcy four, The Seam version. those chapters give you the context and nomenclature for the entire ideas that persist with. furthermore, should you discover a time period that isn’t defined in context, search for it within the word list. The refactorings in Dependency-Breaking recommendations are precise in that they're intended to be kept away from assessments, within the provider of placing exams in position. i beg you to learn each one of them that you should see extra chances as you begin to tame your legacy code. half I: The Mechanics of swap bankruptcy 1: altering software program altering code is excellent. It’s what we do for a residing. yet there are methods of adjusting code that make lifestyles tough, and there are methods that make it a lot more uncomplicated. within the undefined, we haven’t spoken approximately that a lot. the nearest we’ve gotten is the literature on refactoring. i feel we will develop the dialogue a piece and speak about tips on how to take care of code within the thorniest of events. to do this, we need to dig deeper into the mechanics of switch. 4 purposes to alter software program For simplicity’s sake, let’s examine 4 basic purposes to alter software program. 1. including a function 2. solving a computer virus three. enhancing the layout four. Optimizing source utilization including gains and solving insects including a characteristic appears like the simplest kind of switch to make.

Rated 4.79 of 5 – based on 34 votes