Techno News, How To Unbrick Qualcomm Android Devices, 15 Second ADB Installer Latest Version V1.4.3 Free, Samsung FRP Reset Files Using Odin Flash, ATF Box Full Crack Tool, Facebook Contacts Sync, Miracle Box Latest Setup Full Crack Free, 4 Steps Jcow Social Networking Web Server, Infinity Box Chinese Miracle 2 MTK v 1.58 setup, Miracle Box Crack Latest Version 2.26 Full Setup, Nokia Asha 501 RM-899 Latest Flash File

Jumat, 13 Mei 2011

The advantages of Refactoring

The advantages of Refactoring - is the information you are looking for in search engines like google and others, okay we have provided such information in the blog Techno News, we have around collecting information from various reliable sources and presenting it in this blog, well please read The advantages of Refactoring to finish:

Articles : The advantages of Refactoring
full Link : The advantages of Refactoring

You can also see our article on:


The advantages of Refactoring

Lately I have been reading a lot on "Refactoring" and "Agile Development". One of the most notable books on Refactoring is by Martin Fowler (Book Link).


The more I have been reading and practicing, the more convinced I have become of the necessity of continuous refactoring. Here are the list of advantages I am seeing as I refactor code:

  1. Code becomes cleaner, easier to understand and flows as-if though written in English, not in Java.
  2. Large complex methods, or classes get broken into much simpler to understand classes/methods.
  3. This has an advantage that now the same work is done my multiple small classes & methods, rather than big classes and methods. Hence "Merging" code into multiple branches becomes rather simple in comparison. One can easily see the change and its impact, and in most cases merging becomes an "Add" activity, because now one is adding multiple classes to code base, rather than merging lines into big methods. And anyone who has done branch folding/merging understands that adding a class to a branch is way simpler than doing a diff of classes and merging code lines.
  4. An interesting side-effect that happened due to refactoring is in profiling. Using a profiler for performance profiling usually gives method level results. Now, with refactored code, the same functionality is split into multiple methods, so now its much easier to identify the offending piece of code for optimization. Also, with refactoring, since methods are well named, and re-usable.. one good optimization has a bigger impact on other parts of the system.

I think to make your system loosely coupled, stable and 'evolvable'.. combine refactoring with unit testing (or better TDD) .



Information about the The advantages of Refactoring has been discussed

A few of our information about the The advantages of Refactoring, hopefully give more knowledge for you

You have finished reading The advantages of Refactoring and many articles about Techno News in our blog this, please read it. and url link of this article is https://ikkemunandar.blogspot.com/2011/05/the-advantages-of-refactoring.html Hopefully discussion articles on provide more knowledge about the world of new tech gadgets and Techno News.

Tag :
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : The advantages of Refactoring

0 komentar:

Posting Komentar