R: Readability (dead code & comments)

This commit is contained in:
Paul Hameteman 2025-10-14 20:57:30 +02:00
commit c4345a260f
2 changed files with 21 additions and 7 deletions

View file

@ -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

View file

@ -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()
} }