1399
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 1 year ago* (last edited 1 year 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
1399 points (98.5% liked)

Programmer Humor

32706 readers
489 users here now

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

Rules:

founded 5 years ago
MODERATORS