this post was submitted on 24 May 2024
613 points (97.2% liked)

Technology

34904 readers
382 users here now

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

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 52 points 5 months ago (4 children)

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.

[–] [email protected] 1 points 5 months ago

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.

[–] [email protected] 3 points 5 months ago

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

[–] [email protected] 0 points 5 months ago

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

[–] [email protected] 7 points 5 months ago

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.