ekZepp@lemmy.world to Technology@lemmy.mlEnglish · 7 months agoStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comexternal-linkmessage-square131fedilinkarrow-up1631arrow-down118
arrow-up1613arrow-down1external-linkStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comekZepp@lemmy.world to Technology@lemmy.mlEnglish · 7 months agomessage-square131fedilink
minus-squareEatATaco@lemm.eelinkfedilinkEnglisharrow-up8arrow-down1·7 months agoDue to confusing business domain terms, we often name variables the form of XY and YX. One time copilot autogenerated about two hundred lines of a class that was like. XY; YX; XXY; XYX; XYXY; … XXYYXYXYYYXYXYYXY; It was pretty hilarious. But that being said, it’s a great tool that has definitely proven to worth the cost…but like with a co-op, you have to check it’s work.
Due to confusing business domain terms, we often name variables the form of XY and YX.
One time copilot autogenerated about two hundred lines of a class that was like. XY; YX; XXY; XYX; XYXY; … XXYYXYXYYYXYXYYXY;
It was pretty hilarious.
But that being said, it’s a great tool that has definitely proven to worth the cost…but like with a co-op, you have to check it’s work.