Re:There’s No Such Thing as Clean Code
by throwawayffffas on Friday January 28, 2022 @04:26AM
(#30112483)
> that you can confidently change.
There is no secret to this, it's merely tests, no matter how clean my code is I would not feel confident unless I have tested my changes, whether manually or automatically and manually quickly becomes intractable.
There is the option of formal verification, but I have found the tooling to be disagreeable with me.
Re:There’s No Such Thing as Clean Code
by onion2k on Friday January 28, 2022 @10:25AM
(#30115735)
If your code is complex you can't ever be sure that you're testing the right things, or that there isn't a codepath that your tests miss. Tests are very useful, but they're not a replacement for simple code.
There is no secret to this, it's merely tests, no matter how clean my code is I would not feel confident unless I have tested my changes, whether manually or automatically and manually quickly becomes intractable.
There is the option of formal verification, but I have found the tooling to be disagreeable with me.