← Back to context

Comment by fernandotakai

12 hours ago

i'm using LLMs/GenAI to do one thing: write unit tests.

since i really don't follow the idea of "writing unit tests first", i implement the feature, test as a user, and then use LLMLs to write the basic unit test. then, i will write more tests to make sure i'm covering everything.

feels like an ok-ish compromise because LLMs can do some ok job with defensive code, while i maintain the main implementation and more advanced test scenarios.