-
Notifications
You must be signed in to change notification settings - Fork 0
z2018 notes Refactoring Golf
ollin edited this page Sep 23, 2018
·
1 revision
- 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).
https://github.com/ivanmoore/RefactoringGolf
These are the best known scores, achieved using IntelliJ:
Hole | Best score |
---|---|
1 | 3 |
2 | 7 |
3 | 5 |
4 | 6 |
5 | 10 |
6 | 7 |
- see https://github.com/daviddenton/refactoring-golf
- inspired by https://github.com/ivanmoore session at SoCraTes UK 2018