this post was submitted on 19 Feb 2024
287 points (97.0% liked)

Technology

60116 readers
4189 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] friend_of_satan 4 points 10 months ago* (last edited 10 months ago) (1 children)

Always ask it to write tests for the code it generates. Of course, then you have to validate that the code works AND that the tests work.

[–] [email protected] 0 points 10 months ago* (last edited 10 months ago)

Or just write the damn thing yourself and save a bunch of headaches and wondering if you got the tests right it if there’s some screwy corner case lurking because of its implementation.