711
you are viewing a single comment's thread
view the rest of the comments
[-] Tamo240@programming.dev 11 points 2 days ago

Unit tests are exactly for code that is often rewritten, because it ensures that whatever interface still behaves the same, regardless of the implementation. This a large portion of the point of unit tests: not for testing the initial implementation but confirming that any subsequent implementation behaves the same.

[-] Witchfire@lemmy.world 6 points 2 days ago* (last edited 2 days ago)

In a normal scenario yes, but "vibe coding" rewrites whole swaths of code. It's like painting detail with a bucket. Trying to keep up with it seems like a sisyphiean task

this post was submitted on 03 Aug 2025
711 points (100.0% liked)

Programmer Humor

37617 readers
39 users here now

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

Rules:

founded 6 years ago
MODERATORS