Posts

Showing posts with the label encapsulate field factoring

Refactoring C# Code Using Visual Studio

Image
Code Refactoring – An Overview Refactoring is the process of improving the performance of the code after it has been developed by changing only the internal structure and not changing the external functionality of the code. Refactoring improves the non-functional attributes of the application such as readability, maintainability, and extensibility of the code.  It also reduces the complexity and can also help software developers to find and fix any hidden bugs in the application by removing unnecessary complexity and by simplifying the program logic. On the other hand, if the refactoring is not done well, it can lead to the introduction of new bugs in the system or break the existing functionalities. When we are continuously refactoring the code, it becomes more and more easy to work with. However, the need for urgent maintenance activities, need to avoid downtime and the pressure to deliver features to the customer quickly prioritizes the time-to-market factor over the cod...