From the course: Software Design: From Requirements to Release

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Refactoring

Refactoring

From the course: Software Design: From Requirements to Release

Start my 1-month free trial

Refactoring

- [Instructor] Software is built to change, and to enable that change without breaking it, one of the most important activities that must be performed while building an application is refactoring. Refactoring means changing internal structure of software to make it easier to understand and cheaper to modify while maintaining its external behavior. Since it is about changing software's internal structure, we can think about in two ways. First, making the code maintainable. This means making it easier to read by following good coding conventions, naming methods and variables meaningfully, moving the code around to help understand the flow, and so on. Second, making the design extensible so that we can keep adding new functionalities and improving its nonfunctional characteristics, such as performance, security, usability, et cetera. A great way to do this is to apply design patterns, such as Gang of Four, SOLID, GRASP…

Contents