R: Readability (dead code & comments)
This commit is contained in:
parent
6585014a1c
commit
c4345a260f
2 changed files with 21 additions and 7 deletions
22
TECHDEBT.md
22
TECHDEBT.md
|
|
@ -1,7 +1,27 @@
|
||||||
# TODO
|
# TODO
|
||||||
|
- [ ] Readability
|
||||||
|
- [x] comments
|
||||||
|
- [x] dead code
|
||||||
|
- [ ] magic strings/numbers
|
||||||
|
- [ ] scopes
|
||||||
|
|
||||||
# RPP
|
# RPP
|
||||||
- [ ] ...
|
- [ ] Complexity
|
||||||
|
- [ ] long method
|
||||||
|
- [ ] duplicated code
|
||||||
|
- [ ] 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
|
# DONE
|
||||||
- [x] Make ktlint pass checks
|
- [x] Make ktlint pass checks
|
||||||
|
|
|
||||||
|
|
@ -41,10 +41,6 @@ class Rover {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun g(z: Char) {
|
|
||||||
go(z.toString())
|
|
||||||
}
|
|
||||||
|
|
||||||
val xyd: String
|
val xyd: String
|
||||||
get() = "${rs.xx} ${rs.yy} ${rs.dd}"
|
get() = "${rs.xx} ${rs.yy} ${rs.dd}"
|
||||||
|
|
||||||
|
|
@ -52,8 +48,6 @@ class Rover {
|
||||||
return xyd
|
return xyd
|
||||||
}
|
}
|
||||||
|
|
||||||
constructor() : this("")
|
|
||||||
|
|
||||||
private var rs = RoverState()
|
private var rs = RoverState()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue