News for hackers. Stuff that matters.
Re:Build a Database in 3000 Lines with 0 Dependencies by diggan on Monday January 20, 2025 @07:09AM (#42767855)
At that point, you'd get a ton more value from doing Property Testing (+ get up and running faster, with less costs).

If I'd had to have either code or tests generated by a LLM, I'd manually write the test cases with a well-thought out API for whatever I test, then have the LLM write tests that implements what I thought up, rather than the opposite which sounds like a slow and painful death.

Re:Build a Database in 3000 Lines with 0 Dependencies by quantadev on Monday January 20, 2025 @10:12AM (#42769494)
I hadn't heard of "Property Testing" if that's a sort of term of art. I'll look into it. Anyway, yeah in TDD it's hard to say which part deserves more human scrutiny the tests or the implementations.