Content by Category
.NET 1.x
.NET 2.0
.NET 3.0
.NET 3.5
.NET 4.0
.NET Assemblies
.NET Framework
.NET Getting Started
Accessibility
ADO.NET
Advertorials
Agile Development
AJAX
Architecture
ASP.NET
ASP.NET MVC
ASP.NET WebForms
Azure
B2B (Business Integration)
Bing
BizTalk
Book Excerpts
Build and Deploy
C#
C++
ClickOnce
Cloud Computing
Code Contracts
CODE on the Road!
COM+
Community
Conferences
Continuous Integration
Crystal Reports
CSLA.NET
CSS
Data
Design Patterns
Development Process
Display Technologies
Distributed Computing
DotNetNuke
DSL
Dynamic Programming
Editorials
Enterprise Services ("COM+")
Entity Framework
Events
Expression Blend
F#
Fox to Fox
Frameworks
Functional Programming
Git
Graphics
Internet Explorer 8.0
Interviews
iPhone
Iron Ruby
Java
Java Script
jQuery
LINQ
Linux
Mac OS X
MDX
Microsoft Application Blocks
Microsoft Business Rules Framework
Microsoft Dynamics
Microsoft Expression
Microsoft Office
Mobile Development
Mobile PC
Mono
MsBuild
Network
NHibernate
Object Oriented Development
Open Source
Opinion
Opinions
Oracle
ORM
Other Languages
Parallel Programming
Patterns
Podcasts
Post Mortem
PowerPoint
Print/Output
Product News
Product Reviews
Project Management
Python
Q&A
Rails
Rake
Reporting Services
REST
RIA Services
Ruby
Ruby on Rails
Search
Security
Services
SharePoint
Silverlight
SOA
Social Networks
Software & Law
Software Business
Source Control
Speech-Enabled Applications
SQL Server
SQL Server 2000
SQL Server 2005
SQL Server 2008
SQL Server CE/AnyWhere/Mobile/Compact
Subversion
Sync Framework
Tablet PC
TDD
Team System
Techniques
Testing and Quality Control
Tips
UI Design
UML
User Groups
VB Script
VB.NET
Version Control
VFP and .NET
VFP and SQL Server
Virtual Earth
Vista
Visual Basic
Visual Basic 6 (and older)
Visual FoxPro
Visual Studio .NET
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
Visual Studio Tools for Office
VSX
WCF
Web Development (general)
Web Services
WF
Whitepapers
Windows 7
Windows Azure
Windows Live
Windows Server
Windows Vista
WinForms
Workflow
WPF
XAML
XML
XNA
XSLT



DevConnections


 


DevReach

Reader rating:
Click here to read 2 comments about this article.
Article source: CoDe (2005 - Sep/Oct)


Article Pages:  1  2 3 4 5 6 - Next >


eXtreme.NET Iteration One: Refactoring with Resharper

In my book “eXtreme .NET” I introduce a team of developers who are learning how to improve their ability to deliver great software They’re learn how to use XP (eXtreme Programming) techniques to improve the way they deliver software. In this article, we’ll continue to follow this team as they learn about Resharper, a tool they are considering using to help with refactoring their code.

The eXtreme .NET Team

  • eXreme Eddie—Eddie has been programming for more than 20 years. He has done everything from mainframe work through embedded systems. Eddie was an early adopter of XP techniques and has been using XP in Java projects for the past couple of years. Eddie embodies the XP spirit.
  • .NET Deepak—Deepak is a young, smart coder. He graduated last year but has been using the .NET Framework since it first went into beta. Deepak knows and loves .NET. Deepak represents all there is to love about .NET.
  • Skeptic Sue—Sue has been in software development for 10 years. She has been mainly developing Windows software in C and C++. Sue was promoted in her previous job to project manager, which she hated. She left and joined this team so that she could get back into developing software. Sue carries the scars from many failed projects and doesn’t trust new ideas.
  • Panic Pete—Pete is very bright and comes up wiazing solutions for problems. He is the clown of the team. Pete has been writing code for five years but has never finished a single project he started. Pete panics when the going gets tough and verbalizes this panic. When this happened at a previous job he quit.
  • Customer Chris—Chris is the internal customer for the team. He works with marketing and the customer support team. Chris once tried to write some code in a training course. He didn’t enjoy it. Chris is a people person: He loves engaging in conversation.

Morning Meeting

Let's join the team now as they hold a morning meeting to discuss their project.

Eddie: Good morning, everyone!

Team: Morning!

Eddie: I am really pleased with how things are going. How do you feel Chris?

Chris: Yes, it looks like you have gotten off to a good start.

Deepak: I am concerned about using the CourseCosts library; the code in there is pretty messy.

Pete: Panic!

Sue: Why? Did you write that library Pete?

Pete: (looking somewhat sheepish) Yes, kind of. I was involved in that project but I left the team before they shipped.

Chris: How does this impact me? The SportSpeak project allows them to start selling courses online and we were banking on reusing that library. Wasn’t that the plan?

Eddie: Sure that is the plan. What do you think Deepak?

Deepak: I think we should be fine, but if we are going to touch the code in there we will probably want to do some refactoring.

Chris: What’s that? Is it expensive? I thought we just needed to add the ability to cope with event sponsors injecting money into the event.

Eddie: Refactoring is changing the structure of the code without changing the behavior of the code.

Chris: OK, so you want to do what exactly?

Sue: I think it is a bit like doing spring cleaning on the code. Something Pete could do on his desk.

Pete: (Smiling) If you stopped leaving all your junk on my desk it would only be half as messy!

Everyone except Sue laughs for a moment before realizing that Sue has not taken this well and is glaring at Pete.

Chris: OK, well we have job to do here guys. Is there something that will make this code cleaning exercise any easier for you?

Eddie: In the last tool I used for a Java project we had refactoring tools in the IDE. I haven’t seen anything like that in Visual Studio .NET.

Deepak: I have heard Microsoft will put some in the next version.

Pete: Yeah I read that too. VS2005 will have refactoring tools. That looks cool!

Sue: Great, but until you smart alecs invent a time machine we are stuck with Visual Studio 2003.

Deepak: There are a couple of tools I’ve seen that plug-in to Visual Studio for doing refactoring.

Eddie: Oh, that’s interesting! Have you used them?

Deepak: I downloaded the trial of Resharper and I could show you some of what it does.

Pete: Cool!

Eddie: Well, since you worked on that project Pete, and Deepak has played with this Resharper tool, why don’t the two of you pair up this morning and see if it will help us move forward with working on the library?

Deepak and Pete look at each other and grin.

Sue: And no monkey business guys!

Pete: Would we?

Eddie: Um… yes most likely!

Chris: OK, so we’ll know this afternoon if this tool is worth buying?

Deepak: Yeah I reckon we should.

Eddie: Great! Let’s get to it then.

&

By: Neil Roodyn

Dr. Neil is an independent itinerant consultant, trainer, and author. He travels the world working with software companies. Dr. Neil loves Australia, where he spends the summer enjoying the Sydney lifestyle and helping software development teams get more productive. Dr. Neil spends his other summer each year flying between northern Europe and the USA working with software teams and writing about his experiences.

Neil brings his business and technical skills to the companies he works with to ensure he has happy customers.

You can find out more from his Web site http://www.Roodyn.com.



Article Pages:  1  2 3 4 5 6 - Next Page: 'Exploring Resharper' >>

Page 1: eXtreme.NET Iteration One: Refactoring with Resharper
Page 2: Exploring Resharper
Page 3: Exploring Resharper (Con't)
Page 4: Exploring Resharper (Con't)
Page 5: Exploring Resharper (Con't)
Page 6: Exploring Resharper (Con't)

How would you rate the quality of this article?
1 2 3 4 5
Poor      Outstanding

Tell us why you rated the content this way. (optional)

Average rating:
4.8 out of 5

43 people have rated this article.

      Hacker Halted

 

DevLink