dojo-mars-rover/TECHDEBT.md
2025-10-14 22:13:55 +02:00

42 lines
1.1 KiB
Markdown

# TODO
- [ ] Complexity
- [x] long method
- [ ] duplicated code
-
# Mikado
- [ ] Clean up constants and private fields
- [ ] Move move() into Heading.move(Position)
- [ ] Move turnLeft() into Heading.turnLeft()
- [ ] Move turnRight() into Heading.turnRight()
- [x] Remove HEADING_* constants
- [x] in move() compare to heading enum
- [x] in turnRight() compare to heading enum
- [x] in turnLeft() compare to heading enum
- [x] state.heading in Rover.constructor to enum
- [x] Change heading Char in RoverState to Heading enum
- [x] Create Heading enum
# RPP
- [ ] Reorder Responsibilities
- [ ] long class
- [ ] feature envy
- [ ] inappropriate intimacy
- [ ] data class
- [ ] message chain
- [ ] Refine Abstractions
- [ ] long parameter list
- [ ] data clump
- [ ] primitive obsession
- [ ] middle man
- [ ] Design Patterns
- [ ] SOLID++
# DONE
- [x] Make ktlint pass checks
- [x] Readability
- [x] comments
- [x] dead code
- [x] magic strings/numbers
- [x] bad naming
- [x] antipattern
- [x] scopes