Lee Duna@lemmy.nz to Technology@lemmy.worldEnglish · 9 months agoMicrosoft's Pricey AI Assistant Copilot Leaves Early Adopters Feeling Cheatedwww.ibtimes.co.ukexternal-linkmessage-square57fedilinkarrow-up1296arrow-down19
arrow-up1287arrow-down1external-linkMicrosoft's Pricey AI Assistant Copilot Leaves Early Adopters Feeling Cheatedwww.ibtimes.co.ukLee Duna@lemmy.nz to Technology@lemmy.worldEnglish · 9 months agomessage-square57fedilink
minus-squarefriend_of_satan@lemmy.worldlinkfedilinkEnglisharrow-up4·edit-29 months agoAlways 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.
minus-squareanotherandrew@lemmy.mixdown.calinkfedilinkEnglisharrow-up1arrow-down1·edit-29 months agoOr 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.
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.
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.