Child labour with 10 years of experience, 'AI-native' accepting 250k lines of Cursor code
Tamo240 @ Tamo240 @programming.dev Posts 1Comments 142Joined 2 yr. ago
Tamo240 @ Tamo240 @programming.dev
Posts
1
Comments
142
Joined
2 yr. ago
Deleted
Permanently Deleted
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.