News for hackers. Stuff that matters.
Re:Stop lying to yourself – you “fix it later” by kqr on Monday November 21, 2022 @01:28AM (#33689502)
> Of course this strategy requires you to have good tests.

Not necessarily, if you also follow another similar principle. Leave the code a little neater than you found it, but also leave the code a little more well tested than you found it!

Re:Stop lying to yourself – you “fix it later” by solarengineer on Monday November 21, 2022 @09:04PM (#33700870)
Could you distinguish between "good tests" and "a little more well tested"?

It seems to me that good tests enable code to be well tested. Here, "good tests" would be verification of behaviour by using the various expected and unexpected input and output.