ekZepp@lemmy.world to Technology@lemmy.mlEnglish · 6 months agoStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comexternal-linkmessage-square123fedilinkarrow-up1621arrow-down118
arrow-up1603arrow-down1external-linkStudy Finds That 52 Percent of ChatGPT Answers to Programming Questions Are Wrongfuturism.comekZepp@lemmy.world to Technology@lemmy.mlEnglish · 6 months agomessage-square123fedilink
minus-squareEatATaco@lemm.eelinkfedilinkEnglisharrow-up8arrow-down1·6 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.