ekZepp@lemmy.world to TechnologyEnglish · 7 months agoStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comexternal-linkmessage-square131fedilinkarrow-up1632arrow-down118
arrow-up1614arrow-down1external-linkStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comekZepp@lemmy.world to TechnologyEnglish · 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.