In this chapter, you will learn how to refactor existing code to take advantage of all the object-oriented programming techniques that you have learned so far. We will take advantage of all the different available features to refactor a piece of code and prepare it for future requirements in each of the three covered programming languages: Python, JavaScript, and C#. We will cover the following topics:
Putting together all the pieces of the object-oriented puzzle
Understanding the difference between writing object-oriented code from scratch and refactoring existing code
Preparing object-oriented code for future requirements
Refactoring existing code in Python
Refactoring existing code in C#
Refactoring existing code in JavaScript