← Back to context

Comment by postalrat

1 year ago

Is that where the 10x more lines came from? Writing more "testable" code?

Oh no, SQLite3 is a lot more featureful than SQLite2. The proprietary test suite is what makes SQLite3 so solid.

  • This makes me wonder. Is anyone practicing TDD with genAI/LLMs? If the true value is in the tests, might as well write those and have the AI slop be the codebase itself. TDD is often criticized for being slow. I'd seriously like to compare one vs the other today. I've also heard people find it challenging to get it to write good tests.

    • I'd sort of invert that and say it's better to use LLMs to just generate tons more test cases for the SQL DBs. Theoretically we could use LLMs to create 100s of Thousands (unlimited really) of test cases for any SQL system, where you could pretty much certify the entire SQL capability. Maybe such a standardized test suite already exists, but it was probably written by humans.

      4 replies →

    • TDD suffers from being inflexible when you don't fully understand the problem. Which on software is basically always.

      Everytime I've tried it for something I make no progress at all compared to just banginf out the shape that works and then writing tests to interrogate my own design.

      5 replies →

    • dude, if you have the llm write the tests, then you have no confidence it's testing what you think it is. Making the test worthless

      1 reply →