News for hackers. Stuff that matters.
Re:DeepSeek Coder: Let the Code Write Itself by Buttons840 on Wednesday January 31, 2024 @11:58PM (#39212847)
Is writing the code the hard part, or is ensuring what you've written is correct the hard part? I'd guess the latter and AI will not ensure the code is correct.

Can you record input and output at some layers of your system and then use that data to test the ported code? Make sure the inputs produce the same outputs.

Re:DeepSeek Coder: Let the Code Write Itself by skybrian on Thursday February 01, 2024 @01:51AM (#39213369)
Yes, and I also imagine some kind of AI thing would be useful for reading logs and writing other tests that document what the system does in a nice bdd style.

But you still have to read the tests and decide if that's what you want the code to do, and make sure the descriptions aren't gobbledygook.