Refactoring

What is Refactoring?

Refactoring is the process of changing a software system in such a way so that it does not alter the external behavior of  the code and improves the internal structure in a efficient way. It is a way of clean up code and improve the design of code after writting the code. It minimizes the chance of introducing bugs.

Techniques of  Refactoring:

  • Composing Methods.
  • Moving features between objects.
  • Organizing data.
  • Simplifying conditional expressions.
  • Making method calls simpler.
  • Dealing with generalization.
Details…
Refactoring Improving the Design of Existing Code (by… Martin Fowler,William Opdyke).
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: