ReasonsToRefactor

ReasonsToRefactor - Reasons to Refactor Adding new features...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Reasons to Refactor Adding new features. A lot of software development involves enhancing an existing system rather than creating a new system from scratch. When you find you have to add a feature to a program, and the program's code is not structured in a convenient way to add the feature, first refactor the program to make it easy to add the feature, then add the feature. Writing new code. Software is often hurriedly prototyped as a "proof of concept" or in an effort to refine end-user requirements. Once the prototype has served its purpose, we should either throw it away, or refactor it to improve its structure and design. Combatting design decay. Software designs decay over time. Why? 1) People who don’t understand the system’s design are required to make changes (e.g., new team members), 2) Changes are made under schedule pressure; rather than doing the “right” thing, we do the “quick and dirty” thing. 3) Some developers are less skillful and/or disciplined than others, and make poor design choices.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern