4 ms·
That’s why I laugh when people are like “oh, AI writes all the tests, it’s so much easier.” If your code is hard to test, you need to change the abstraction or
by teeray 8mo ago
That’s why I laugh when people are like “oh, AI writes all the tests, it’s so much easier.” If your code is hard to test, you need to change the abstraction or the interface. Tests are the first reuse of your code, so if it’s a pain to use in tests, it’s going to be terrible to use in general.
- layer8 8mo agoNot to mention that tests are at least as critical to get right as the code that is being tested.
- wreath 8mo agoAnd not to mention that most tests available to AI training is trash, so no wonder AI-generated tests are not only worthless but costly in terms of false sense of reliability.
- __mharrison__ 8mo agoThis is why I teach TDD when I'm teaching agent use to my clients.