Refactoring - Essay Example

Only on StudentShare

Extract of sample
Refactoring

This is where refactoring will come in handy. Refactoring is a method of altering the code of a software in various ways so it can easily be understood and the cost of modifying the code will be minimal. Refactoring does not change the observable behavior of the program. All changes are done internally just for the purpose of making the code more flexible and reusable. Maintaining the program's observable behavior is crucial to refactoring. Automated testing for each aspect of the software can be done to ensure the consistency of the observable behavior of the program.
Refactoring reduces the degradation of an application over time by helping the developers easily maintain it. It is like cleaning up the program's code. It also makes the program easier to understand in the long run. Since one of the principles of refactoring is for it to be done in small steps, it can help the developer find bugs after testing each small step. And since you can easily find bugs, the time spent fixing them would be lesser. Thus, it will allow for more additional features to be added in the program.
Refactoring, however, may not be applicable to all program codes. If a code seems to be a total mess, really difficult to understand and has a lot of bugs, then it might be better to rewrite the whole thing than just refactoring it. ...Show more

Summary

Bad programming codes exist most of the time. These are codes that are more like a traditional kind with long methods and large classes. There are duplicate codes, complex condition and switch statements. And since programming doesn't end once the code is finished and the program is tested correctly, it gets more and more complex as it is being maintained all throughout the program's lifetime.
Author : lamar01
Save Your Time for More Important Things
Let us write or edit the essay on your topic
"Refactoring"
with a personal 20% discount.
Grab the best paper

Related Essays

The Children by Nina Fedorova
We are building for the future, a new life for our children." (Fedorova 323). All are child of Revolution and World War. Young see clearly and feel strong. Fedorova writes The Children with her own childhood in Manchuria, and many people in story are children too.
3 pages (750 words) Essay
Financial Industry Megamergers
The unprecedented merger wave results in telecommunication and information technology rapid changes and the vague and unclear legal regulations between national and international banking services (Hoenig, 1999). Hoenig (1999) notes that the international financial mergers raise many significant policy problems.
4 pages (1000 words) Research Paper
Refactoring Essay
Just like in mathematics, refactoring in software code will not change the observable behavior of the program, and is not (directly) meant to benefit end users, but only the program maintainers. The semantics of the program should not change. Most large programs will need bug fixes or additional features to meet evolving demands.
2 pages (500 words) Essay
Research
I sincerely, thank all of them. I also my mentor, Dr. _____ has been my lighthouse. In the ocean of knowledge, not knowing where to start and when to stop, without her direction I would have landed up miles away from my desired destination. I would like to thank
11 pages (2750 words) Essay
Cross Platform Mobile and Web Widgets installation
Though cross-platform widgets or applications can be developed and deployed on a web server, the additional load that they create on server resources significantly restrict their functionality. Thus,
26 pages (6500 words) Thesis
Find out how much would it cost
to get a custom paper written by a pro under your requirements!
Win a special DISCOUNT!
Put in your e-mail and click the button with your lucky finger
Your email
YOUR PRIZE:
Apply my DISCOUNT