It will show how to break down a refactoring into small steps that are easy to perform safely with the help of CLion’s powerful automated refactorings aides or manually, if needed. In addition, it will touch on the most important strategies we can use to stay in control of the refactoring process.
Demo project: https://github.com/arnemertz/commandline-videostore-cpp
Agenda:
00:10 - Sample project description and overall structure
01:55 - Extract function and remove duplicates
07:44 - Parallel change strategy (sample 1: movie structure)
16:20 - Parallel chance strategy (sample 2: rental structure)
24:00 - Extracting domain logic into a separate class: extract frequentRenterPoints to the class
29:00 - First round of Q&A
36:00 - Duplicate and reduce technique
48:42 - Second round of Q&A
Learn more about CLion at https://www.jetbrains.com/clion
Category: Webinars