Los Techies : Blogs about software and anything tech!
Sign in
|
Join
|
Help
Home
Merchandise
Blogs
Media
Groups
RSS
Twitter
Jimmy Bogard
»
All Tags
»
Legacy Code
(
RSS
)
Browse by Tags
Jimmy Bogard
Home
Contact
The Lounge
Ads by The Lounge
Friends of Pablo
Pablo's Extended Family
Syndication
RSS for Posts
Atom
RSS for Comments
Recent Posts
PTOM: Black-box analysis of legacy applications
Speaking at ADNUG tonight
PabloTV: Eliminating static dependencies screencast
Profiling a legacy app
Advanced mocking: auto-interaction testing
Tags
Agile
ASP.NET
ASP.NET MVC
AutoMapper
BDD
Behave#
Behavior-Driven Development
C#
Design
Domain-Driven Design
Legacy Code
LINQ
LINQ to SQL
Misc
NHibernate
Patterns
Rant
Refactoring
StructureMap
TDD
Team Build
Testing
Tools
VSTS
WCF
View more
News
Archives
March 2010 (2)
February 2010 (4)
January 2010 (9)
December 2009 (9)
November 2009 (5)
October 2009 (8)
September 2009 (8)
August 2009 (8)
July 2009 (11)
June 2009 (10)
May 2009 (11)
April 2009 (10)
March 2009 (9)
February 2009 (12)
January 2009 (10)
December 2008 (8)
November 2008 (14)
October 2008 (11)
September 2008 (10)
August 2008 (11)
July 2008 (12)
June 2008 (11)
May 2008 (15)
April 2008 (10)
March 2008 (15)
February 2008 (13)
January 2008 (19)
December 2007 (9)
November 2007 (17)
October 2007 (23)
September 2007 (10)
August 2007 (11)
July 2007 (11)
June 2007 (9)
May 2007 (14)
April 2007 (7)
Agile
BDD
C#
PabloTV
People
Refactoring
TDD
Testing
PTOM: Black-box analysis of legacy applications
It seems like such a great situation, you’ve been tasked with replacing an old legacy system with a shiny new Web 3.0 AJAX-ified replacement. It’s your chance for the limelight as the knight in shining armor to come charging in with a new system...
Published
Wed, May 05 2009 11:20 PM
by
bogardj
Filed under:
Legacy Code
Speaking at ADNUG tonight
I'm speaking at ADNUG tonight about legacy code: The development landscape is strewn with existing legacy systems. As these systems continue to generate revenue and provide value, eventually some force will act upon the development team to change...
Published
Mon, Jul 07 2008 7:35 AM
by
bogardj
Filed under:
Legacy Code
PabloTV: Eliminating static dependencies screencast
Nature abhors a vacuum. It turns out she also abhors static dependencies (I have my sources). Static dependencies are the modern-day globals, often exposed through classes named "Helper". I've certainly been guilty of overusing static dependencies...
Published
Tue, May 05 2008 7:24 AM
by
bogardj
Filed under:
Legacy Code
,
Refactoring
,
BDD
,
TDD
,
PabloTV
Profiling a legacy app
Approaching a legacy application can be a daunting task. You may or may not have access to the original developers (if they even still work for the company), and the domain experts might not be able to commit to teaching you the software full time. If...
Published
Wed, Apr 04 2008 7:53 AM
by
bogardj
Filed under:
Legacy Code
Advanced mocking: auto-interaction testing
When dealing with legacy systems or those not designed with specific testability scenarios in mind, you have to test your changes in non-traditional means. In normal mocking (or test double ) scenarios, you have some kind of external dependency that you...
Published
Wed, Mar 03 2008 9:44 PM
by
bogardj
Filed under:
Legacy Code
,
Testing
,
TDD
Hall of shame
We keep a "Hall of Shame" of WTF-level code snippets to remind us that however bad we might think things get, it could always be worse. It also serves as a reminder to us that we can't be complacent with ignorance, and lack of strong technical...
Published
Thu, Nov 11 2007 5:05 PM
by
bogardj
Filed under:
Legacy Code
,
C#
,
People
Stop the madness
I've been extending a legacy codebase lately to make it a bit more testable, and a few small, bad decisions have slowed my progress immensely. One decision isn't bad in and of itself, but a small bad decision multiplied a hundred times leads to...
Published
Tue, Nov 11 2007 5:01 PM
by
bogardj
Filed under:
Agile
,
Legacy Code
,
Testing
A downcasting tragedy
And now, for another tale of legacy code woe, here's a gut-wrenching tragedy of OCP and downcasting , in five acts . Exposition We have a feature we're implementing that when the store's configuration settings allow for a survey link to be...
Published
Wed, Nov 11 2007 5:34 PM
by
bogardj
Filed under:
Legacy Code
,
Testing
Dependency Breaking Techniques: Inline Static Class
Often times I run into a class that has a dependency not on a Singleton , but a static class. When refactoring away from a Singleton, a common approach is to use Inline Singleton . With static classes, a slightly different approach needs to be taken because...
Published
Fri, Oct 10 2007 5:50 PM
by
bogardj
Filed under:
Legacy Code
The Legacy Code Dilemma and compiler warnings
This post was originally published here . I hit the Legacy Code Dilemma today while trying to reduce compiler warnings in our solution. For those that don't know it, the Legacy Code Dilemma is: I need to fix some legacy code, but the fix isn't...
Published
Tue, Oct 10 2007 4:04 PM
by
bogardj
Filed under:
Legacy Code
Legacy code testing techniques: subclass and override non-virtual members
This post was originally published here . One of the core techniques in Michael Feathers' Working Effectively With Legacy Code is the "Subclass and Override Method" technique. Basically, in the context of a test, we can subclass a dependency...
Published
Fri, Aug 08 2007 3:22 PM
by
bogardj
Filed under:
Legacy Code
,
C#
,
Testing
Copyright Los Techies 2008, 2009. All rights reserved.