Refactoring
20
People
1
Day
About Course
Workshop Objectives
By the end of this workshop, participants will be able to:
- Identify "Code Smells" that indicate a need for refactoring.
- Apply the "Two Hats" principle (separating behavior changes from structural changes).
- Perform safe refactorings using Unit Tests as a safety net.
- Master core refactoring moves (Extract, Rename, Inline, Move).
- Utilize IDE automated refactoring tools to work faster and safer.
Curriculum
- Revisit imperative programming
- Code quality
- Code smells
- Exercise - Identifying code smells and discuss about code quality
- Refactoring
- Working with legacy code
- Characterization test
- Exercise - Writing characterization test against high complexity code
- Exercise - Apply refactoring methods
- Exercise - Working with untestable code
Instructor
Prayoch Rujira
Prerequisite
At least one year of development experience is required. There is no restriction on the programming language participants are familiar with; however, TypeScript will be used in the workshops.
Course Outline
Who this course is for ?
Programmers or developers with at least one year of programming experience who are interested in improving code maintainability and readability without introducing issues during the refactoring process.