• 80 Posts
  • 911 Comments
Joined 2 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.








  • You aren’t the lad’s parent.

    You aren’t too. I gave my opinion as well.

    And yes, within reason I think you should let a 6 year old do what they want with their free time.

    You have lot of assumptions about how the parents raise and teaches their kids. I think the parents should teach and bring the tech to the kid, because the parents think its a good thing. From there it can go any way. Without trying you wouldn’t know. I think we both should let the parents parenting the kid and not assume anything more than the question. Let the parent show the kid some Linux stuff.

    I think this is a good preparation for the future, so it does not become too much dependent on Windows and knows difference and strength of Linux early on, so it can make his own choice. Parent does not force here, just teaches some stuff. I don’t know why you have a problem with that.