| ▲ | visarga 6 hours ago | ||||||||||||||||
I think the kind of judgement required here is to design ways to test the code without inspecting it manually line by line, that would be walking a motorcycle, and you would be only vibe-testing. That is why we have seen the FastRender browser and JustHTML parser - the testing part was solved upfront, so AI could go nuts implementing. | |||||||||||||||||
| ▲ | northfield27 6 hours ago | parent [-] | ||||||||||||||||
I partially agree, but I don’t think “design ways to test the code without inspecting it manually line by line” is a good strategy. Tests only cover cases you already know to look for. In my experience, many important edge cases are discovered by reading the implementation and noticing hidden assumptions or unintended interactions. When something goes wrong, understanding why almost always requires looking at the code, and that understanding is what informs better tests. | |||||||||||||||||
| |||||||||||||||||