R: Finish refine abstractions (add moveBy to position class and use in RS)
This commit is contained in:
parent
65444e0932
commit
af40a996fe
4 changed files with 15 additions and 11 deletions
20
TECHDEBT.md
20
TECHDEBT.md
|
|
@ -1,14 +1,14 @@
|
|||
# TODO
|
||||
- [ ] Refine Abstractions
|
||||
- [ ] long parameter list
|
||||
- [ ] data clump
|
||||
- [ ] primitive obsession
|
||||
- [ ] middle man
|
||||
- [x] Refine Abstractions
|
||||
- [x] long parameter list
|
||||
- [x] data clump
|
||||
- [x] primitive obsession
|
||||
- [x] middle man
|
||||
|
||||
# Mikado
|
||||
- [x] Replace x, y with Position in Heading.move()
|
||||
- [x] RoverState.move use position
|
||||
- [x] Return position in move() instead of Pair
|
||||
- [x] remove move() from heading
|
||||
- [x] use position.moveBy in RoverState.move
|
||||
- [x] add moveBy to Position class
|
||||
|
||||
# RPP
|
||||
- [ ] Design Patterns
|
||||
|
|
@ -63,3 +63,7 @@
|
|||
- [x] use position in move()
|
||||
- [x] Add position to RoverState
|
||||
- [x] Create Position data class
|
||||
- [x] Replace x, y with Position in Heading.move()
|
||||
- [x] RoverState.move use position
|
||||
- [x] Return position in move() instead of Pair
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue