• 2 Posts
  • 72 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle














  • It’s actually the first time I used to do Ai assisted unit test creation. There were multiple iterations and sometimes it never worked well. And the most important part is, as you say, think through and read every single test case and edit or replace if necessary. Some tests are really stupid, especially stuff that is already encoded in the type system through Rust. I mean you still need a head for revision and know what you want to do.

    I still wonder if I should have just gave it the function signature without the inner workings of the function. That’s an approach I want to explore next time. I really enjoyed working with it for the tests, because writing tests is very time consuming. Although I am not much of test guy, so maybe the results aren’t that good anyway.

    Edit: In about 250 unit tests (which does not cover all functions sadly) for a cli json based tool, several bugs were found thanks to this approach. I wouldn’t have done it manually.




  • he’s very familiar with C and C++. In his associated writeup on his Gopher page (link though Floodgap) [jns] simply declares it’s a language he’s quite fond of, which is reason enough of us.

    So there are no technical reasons to do so. Its totally understandable to like and use a language for personal feelings. But it kinda feels like unnecessary complicated. So this should be done as a hobby project on something that is not important in my opinion.

    Make it in Haskell if you want impress me.