05, SWAT Lecture 05: Refactoring

SWAT Spring 2021

2 April 2021, Marcel Baumann, 10 views

  1. Why, How, Who
  2. Clean Code: Broken Window Theory, DRY – Don’t Repeat Yourself -, KISS – Keep It Simple, Stupid -, YAGNI – You aren’t Gonna Need It -, Pathfinder Rule
  3. Catalogue of refactoring steps
  4. TDD, ATDD
  5. Practical Part 
    1. Refactor using IntelliJ tools and catalogue refactoring steps 
    2. Write unit tests and increase code coverage 
    3. Write a new class using the TDD approach 
    4. Code examples of students 

Viewable by everyone. CC BY-NC licensed.