Today i found a very good article on refactoring the code. Look at this article once, will come to know where we are doing the simple mistakes without knowing the impact on performance of applciation. Thank a lot Goksu for such a clear explaination with sample code and solution.
Check the below URL to see the full article.
Have a nice day.