387
top 50 comments
sorted by: hot top controversial new old
[-] einkorn@feddit.org 97 points 2 weeks ago

For me, it is a glorified auto-complete function. Could definitely live without it.

[-] CatsGoMOW@lemmy.world 52 points 2 weeks ago

Same for me, but that glorified auto complete helps a lot.

[-] MeatsOfRage@lemmy.world 28 points 2 weeks ago

Hell yea. Our unit test coverage went way up because you can blow through test creation in second. I had a large complicated migration from one data set to another with specific mutations based on weird rules and GPT got me 80% of the way there and with a little nudging basically got it perfect. Code that would've taken a few hours took about 6 prompts. If I'm curious about a new library I can get a working example right away to see how everything fits together. When these articles say there's no benefit I feel people aren't using these tools or don't know how to use them effectively.

[-] SkyeStarfall 8 points 2 weeks ago

Yeah, it's useful, you just gotta keep it on a short leash, which is difficult when you don't know what you're doing

Basically, it's a useful tool for experienced developers that know what to look out for

load more comments (1 replies)
load more comments (1 replies)
[-] Blue_Morpho@lemmy.world 74 points 2 weeks ago

Good devs gain little.

I gain a lot.

[-] Warl0k3@lemmy.world 34 points 2 weeks ago

Its basically a template generator, which is really helpful when you're generating boilerplate. It doesn't save me much if any time to refactor/fill in that template, but it does save some mental fatigue that I can then spend on much more interesting problems.

It's a niche tool, but occasionally quite handy. Without leaps forward technically though, it's never going to become more than that.

[-] dgmib@lemmy.world 7 points 2 weeks ago

Just beware, sometimes the AI suggestions are scary good, some times they’re batshit crazy.

Just because AI suggests it, doesn’t mean it’s something you should use or learn from.

[-] rocci@lemmy.ml 5 points 2 weeks ago

Feel the same way!

[-] Greg@lemmy.ca 44 points 2 weeks ago

Generative AI is great for loads of programming tasks like helping create regular expressions or syntax conversions between languages. The main issue I've seen in codebases that rely heavily on generative AI is that the "solutions" often fix today's bug while making future debugging more difficult. Generative AI makes it easy to go fast in the wrong direction. Used right it's a useful tool.

[-] VonReposti@feddit.dk 26 points 2 weeks ago

While I am not fond of AI, we do have access to it at work and I must admit that it saves some time in some cases. I'm not a developer with decades of experience in a single language, so something I am using AI to is asking "Is it possible to do a one-liner in language X where it does Y?" It works very well and the code is rarely unusable, but it is still up to my judgement whether the AI came up with a clever use of functions that I didn't know about or whether it crammed stuff into a single unreadable line.

[-] ggppjj@lemmy.world 26 points 2 weeks ago

It introduced me to the basics of C# in a way that traditional googling at my previous level of knowledge would've made difficult.

I knew what I wanted to do and I didn't know what was possible or how to ask without my question being closed as a duplicate with a link to an unhelpful post.

In that regard, it's very helpful. If I had already known the language well enough, I can see it being less helpful.

[-] UnderpantsWeevil@lemmy.world 10 points 2 weeks ago* (last edited 2 weeks ago)

Great for Coding 101 in a language I'm rusty with or otherwise unfamiliar.

Absolutely useless when it comes time to optimize a complex series of functions or upgrade to a new version of the .NET library. All the "AI" you need is typically baked into Intellisense or some equivalent anyway. We've had code-assist/advice features for over a decade and its always been mid. All that's changed is the branding.

[-] Semi_Hemi_Demigod@lemmy.world 6 points 2 weeks ago

This is what I've used it for and it's helped me learn, especially because it makes mistakes and I have to get them to work. In my case it was with Terraform and Ansible.

load more comments (1 replies)
load more comments (8 replies)
[-] 9point6@lemmy.world 23 points 2 weeks ago

My main use is skipping the blank page problem when writing a new suite of tests—which after about 10 mins of refactoring are often a good starting point

[-] TheEighthDoctor@lemmy.world 22 points 2 weeks ago

I'm a penetration tester and it increases my productivity a lot

[-] yikerman@lemmy.world 9 points 2 weeks ago

I mainly use AI for learning new things. It’s amazing at trivial tasks.

[-] Gonzako@lemmy.world 8 points 2 weeks ago

so it's a vector of attack?

load more comments (1 replies)
[-] Landless2029@lemmy.world 22 points 2 weeks ago

Everyone keeps talking about autocomplete but I've used it successfully for comments and documentation.

You can use vs code extensions to generate and update readme and changelog files.

Then if you follow documentation as code you can update your Confluence/whatever by copy pasting.

[-] Dremor@lemmy.world 8 points 2 weeks ago

I also use it a lot for unit tests. It helps a lot when you have to write multiple edge cases, and even find new one at times. Like putting a random int in an enum field (enumField = (myEnum)1000), I didn't knew you could do that...

load more comments (2 replies)
[-] TrickDacy@lemmy.world 17 points 2 weeks ago

I truly don't understand the tendency of people to hate these kinds of tools. Honestly seems like an ego thing to me.

[-] FlorianSimon@sh.itjust.works 17 points 2 weeks ago

Carbon footprint. Techbro arrogance. Not sure what's hard to understand about it.

[-] GreenKnight23@lemmy.world 11 points 2 weeks ago

I sent a PR back to a Dev five times before I gave the work to someone else.

they used AI to generate everything.

surprise, there were so many problems it broke the whole stack.

this is a routine thing this one dev does too. every PR has to be tossed back at least once. not expecting perfection, but I do expect it to not break the whole app.

[-] TrickDacy@lemmy.world 10 points 2 weeks ago

Like I told another person ITT, hiring terrible devs isn't something you can blame on software.

[-] GreenKnight23@lemmy.world 7 points 2 weeks ago

that depends on your definition of what a "terrible dev" is.

of the three devs that I know have used AI, all we're moderately acceptable devs before they relied on AI. this formed my opinion that AI code and the devs that use it are terrible.

two of those three I no longer work with because they were let go for quality and productivity issues.

so you can clearly see why my opinion of AI code is so low.

load more comments (29 replies)
load more comments (17 replies)
[-] ulkesh@lemmy.world 17 points 1 week ago

No shit. Senior devs have been saying this the whole time. AI, in its current form, for developers, is like handing a spatula to a gourmet chef. Yes it is useful to an extremely small degree, but that’s it…for now.

load more comments (1 replies)
[-] ShunkW@lemmy.world 17 points 2 weeks ago

And yet, higher ups continue to lay off more devs because AI "is the future".

load more comments (2 replies)
[-] tonytins@pawb.social 16 points 2 weeks ago

Places GPT-based "AI" next to flying cars

load more comments (4 replies)
[-] asmodee59@lemmy.world 13 points 2 weeks ago

Who are those guys they keep asking this question over and over ? And how are they not able to use such a simple tool to increase their productivity ?

[-] eager_eagle@lemmy.world 12 points 2 weeks ago* (last edited 2 weeks ago)

lol Uplevel's """full report""" saying devs using Copilot create 41% more bugs has 2 pages and reads like a promotional material.

you can download it with a 10 minute email if you really want to see for yourself.

just some meaningless numbers.

[-] Choco1ateCh1p@lemmy.world 12 points 2 weeks ago

Every now and then, GitHub Copilot saves me a few seconds suggesting some very basic solution that I am usually in the midst of creating. Is it worth the investment? No, at least not yet. It hasn't once "beaten" me or offered an improved solution. It (more frequently than not) requires the developer to understand and modify what it proposes for its suggestions to be useful. Is is a useful tool? Sure, just not worth the price yet, and obviously not perfect. But, where I'm working is testing it out, so I'll keep utilizing it.

[-] Grandwolf319@sh.itjust.works 11 points 2 weeks ago

Yep, by definition generative AI gets worse the more specific you get. If you need common templates though, it’s almost as good as today’s google.

[-] mint_tamas@lemmy.world 9 points 2 weeks ago

… which is not a high bar.

[-] tdawg@lemmy.world 11 points 2 weeks ago

I honestly stopped using it after a week

[-] sirico@feddit.uk 11 points 2 weeks ago

It's just fancier spell check and boilerplate generator

[-] Cpo@lemm.ee 10 points 1 week ago

I partly disagree, complex algorithms are indeed a no, but for learning a new language it is awesome.

Currently learning Rust and although it cannot solve everything, it does guide you with suggestions and usable code fragments.

Highly recommended.

load more comments (3 replies)
[-] IvanOverdrive@lemm.ee 10 points 2 weeks ago

Claude is my coding mentor. Wouldn't want to work without it.

load more comments (2 replies)
[-] tkw8@lemm.ee 10 points 2 weeks ago* (last edited 2 weeks ago)

I’m shocked. There must be an error in this analysis. /s

Maybe engage an AI coding assistant to massage the data analysis lol

[-] BigBenis@lemmy.world 10 points 2 weeks ago* (last edited 2 weeks ago)

It's great as essentially a StackOverflow that I can talk to in real time. But as with SO, I've still got to figure out what pieces are legit and where they go.

[-] RagingRobot@lemmy.world 6 points 2 weeks ago

AI search results made stack overflow answers harder to find now lol

load more comments (1 replies)
[-] LordCrom@lemmy.world 8 points 1 week ago

I get more benefit from a good IDE that helps me track libraries, cars, functions, grammar checks my code, offers a pop-up with params and options....

I don't needcode I would grade as a D- from an AI. Most of what I write comes from my code closet anyway. I have skeleton code for so much, and I trust my old code more than AIs new code

[-] histic@lemmy.dbzer0.com 7 points 2 weeks ago

Garbage in garbage out is how they all work if you give it a well defined prompt you can get exactly what you want out of it most of the time but if you just say fix this problem it’ll just fix the problem ignoring everything else

[-] zbyte64@awful.systems 5 points 2 weeks ago

You're holding it wrong

[-] daniskarma@lemmy.dbzer0.com 6 points 2 weeks ago

It has some uses.

But I'm waiting for a good self hosted model and to have a more powerful gpu to properly run it.

load more comments
view more: next ›
this post was submitted on 03 Oct 2024
387 points (100.0% liked)

Technology

58743 readers
4027 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