this post was submitted on 14 Aug 2024
-53 points (14.7% liked)

Technology

59569 readers
4136 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] flamingo_pinyata@sopuli.xyz 4 points 3 months ago (1 children)

AI is actually great at typing the code quickly. Once you know exactly what you want. But it's already the case that if your engineers spend most of their time typing code, you're doing something wrong. AI or no AI.

[–] hendrik@palaver.p3x.de 4 points 3 months ago* (last edited 3 months ago) (1 children)

I don't think so. I've had success letting it write boilerplate code. And simple stuff that I could have copied from stack overflow. Or a beginners programming book. With every task from my real life it failed miserably. I'm not sure if I did anything wrong. And it's been half a year since I last tried. Maybe things have changed substantially in the last few months. But I don't think so.

Last thing I tried was some hobby microcontroller code to do some robotics calculations. And ChatGPT didn't really get what it was supposed to do. And additionally instead of doing the maths, it would just invent some library functions, call them with some input values and imagine the maths to be miraculously be done in the background, by that nonexistent library.

[–] flamingo_pinyata@sopuli.xyz 3 points 3 months ago* (last edited 3 months ago) (1 children)

Yes actually, I can imagine it getting microcontroller code wrong. My niche is general backend services. I've been using Github copilot a lot and it served me well for generating unit tests. Write test description and it pops out the code with ~ 80% accuracy

[–] hendrik@palaver.p3x.de 4 points 3 months ago* (last edited 3 months ago) (1 children)

Sure. There are lots of tedious tasks in a programmers life that don't require a great amount of intelligence. I suppose writing some comments, docstrings, unit tests, "glue" and boilerplate code that connects things and probably several other things that now escape my mind are good tasks for an AI to assist a proper programmer and make them more effective and get things done faster.

I just wouldn't call that programming software. I think assisting with some narrow tasks is more exact.

Maybe I should try doing some backend stuff. Or give it an API definition and see what it does 😅 Maybe I was a bit blinded by ChatGPT having read the Wikipedia and claiming it understands robotics concepts. But it really doesn't seem to have any proper knowledge. Same probably applies to engineering and other nighboring fields that might need software.

[–] flamingo_pinyata@sopuli.xyz 2 points 3 months ago

It might also have to do with specialized vs general models. Copilot is good at generating code but ask it to write prose text and it fails completely. In contrast ChatGPT is awful at code but handles human readable text decently.