1404
Tests are code too (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] homoludens@feddit.de 13 points 9 months ago* (last edited 9 months ago)

constantly rewrite both the code and tests as you better understand how you’re going to solve the task while trying

The tests should be decoupled from the "how" though. It's obviously not possible to completely decouple them, but if you're "constantly" rewriting, something is going wrong.

Brilliant talk on that topic (with slight audio problems): https://www.youtube.com/watch?v=EZ05e7EMOLM

this post was submitted on 02 Nov 2023
1404 points (98.5% liked)

Programmer Humor

31687 readers
572 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS