Skip to content

z2018 notes Refactoring Golf

ollin edited this page Sep 23, 2018 · 1 revision

The rules:

  • 1 point for every change made to the code using a shortcut or automated IDE feature (e.g., an automated refactoring, code template, or Find/Replace)
  • 2 points for every manual edit. Note that a single "edit" could cover multiple lines of code.
  • Double points for every change made while the code cannot pass the tests after the previous change.
  • Zero points for code formatting (e.g., deleting whitespace or optimizing imports).

The repo:

https://github.com/ivanmoore/RefactoringGolf

Course records:

These are the best known scores, achieved using IntelliJ:

Hole Best score
1 3
2 7
3 5
4 6
5 10
6 7

Links and Credits