Re:I am disappointed by dynamic typing
by ReflectedImage on Tuesday November 29, 2022 @07:23PM
(#33795288)
Each line of that compiler only documentation increases the number of bugs in your code.
Bugs are directly proportional to total lines of code if you weren't aware
Anyway, that "bloat" is documentation your computer can understand so it can tell you when it's wrong. The alternative is documentation your computer can't check. Or just skipping that and letting the next person eat the higher onboarding cost and defect rate, which I suspect is more often the case.
[EDIT] And it's not unit testing instead. It's in addition to. One's not a replacement for the other.