You are viewing a single thread.
View all comments
52 points

Sometimes ChatGPT/copilot’s code predictions are scary good. Sometimes they’re batshit crazy. If you have the experience to be able to tell the difference, it’s a great help.

permalink
report
reply
7 points

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.

permalink
report
parent
reply
3 points

I find the mistakes it makes and trouble shooting them really good for learning. I’m self taught.

permalink
report
parent
reply
1 point

The amount of reference material it has is also a big influence. I’ve had to pick up PLC programming a while ago (codesys/structured text, which is kinda based on pascal). While chatgpt understands the syntax it has absolutely no clue about libraries and platform limitations so it keeps hallucinating those based on popular ones in other languages.

Still a great tool to have it fill out things like I/O mappings and the sorts. Just need to give it some examples to work with first.

permalink
report
parent
reply
0 points

Pretty much this. Experienced developers see AI just as a next level lorem Ipsum.

permalink
report
parent
reply

Technology

!technology@lemmy.ml

Create post

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

Community stats

  • 2.8K

    Monthly active users

  • 2.7K

    Posts

  • 41K

    Comments

Community moderators