course background
course

20

People

1

Day

Refactoring


20

People

1

Day

About Course

Workshop Objectives
By the end of this workshop, participants will be able to:
  1. Identify "Code Smells" that indicate a need for refactoring.
  2. Apply the "Two Hats" principle (separating behavior changes from structural changes).
  3. Perform safe refactorings using Unit Tests as a safety net.
  4. Master core refactoring moves (Extract, Rename, Inline, Move).
  5. 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

logo

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.