this post was submitted on 03 Oct 2024
373 points (94.7% liked)

Technology

60021 readers
1944 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 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 2 months ago

I use it as second last resort, and in those times, it did worked out. I had to test, verify, and make changes. Even so, I avoid using them.

[–] [email protected] 9 points 2 months ago (2 children)

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.

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

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

as does the compiler and the rust book

[–] [email protected] 2 points 2 months ago (1 children)

Is there anything it provided you so far that was better than the guidance from the Rust compiler errors themselves? Every error ends with "run this command for a tutorial on why this error happened and how to fix it" type of info. A lot of times the error will directly tell you how to fix it too.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I agree, although some messages are still cryptic for a newbie like me, but thats maybe more the person on the chair than the compiler 😇.

I'd estimate copilot to be correct in only 10% of the time, solving a situation like that. Most of the time the solution suggested is also wrong, but just differently.

Having said that: sometimes (small chance, 1% maybe) the solution is spot on.

AI mainly helps with the initial syntax and on language constructs and for that it is awesome.

[–] [email protected] 8 points 2 months 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

[–] [email protected] 18 points 2 months ago (2 children)

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.

[–] [email protected] -3 points 2 months ago (1 children)

It's when you only have a pot and your fingers that a spatula is awesome. I could never bother finish learning C and its awkward syntax. Even though I know how to code in some other language, I just couldn't write much C at all and it was painful and slow. And too much time passed between attempts that I forgot most of it in between. Now I can easily make simple C apps, I just explain the underlying logic, with example of how I would do it in my preferred language and piece by piece it quickly comes together and I don't have to remember if the for loop needs brackets of parenthesis or brackets nor if the line terminator is colon or semi colon.

[–] [email protected] 2 points 2 months ago (1 children)

The problem is that you’re still not learning, then. Maybe that’s your goal, and if so, no worries, but AI is currently a hammer that everyone seems to be falling over themselves finding nails for.

All I can do is sigh and shake my head. This bubble will burst, and AI will still take decades to get to the point people think it is already at.

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

Au contraire, not only you quickly learn the grab bag of strategy and tricks of the "average programmers" and their default solutions, you no longer get bogged down in the menial wrangling of compiler syntax.

That is IF you actually read, debug and implement this code as part of a larger system.

Of course if it "just works" and you don't read how it works then you just get a working tool, but don't really learn how it works inside. Kind of like those people who just drive cars but never did replace their crank bearings and transmission clutch packs

If you do interact with the code I think it will quickly elevate a newbie to a mediocre but capable programmer. Progressing beyond that is like stepping out and walking after driving for days.

[–] [email protected] 6 points 2 months ago

A convoluted spatula that sometimes accidentally cuts what your cooking im half instead of flipping it and consumes as much power as the entirety of Japan.

[–] [email protected] 2 points 2 months ago (1 children)

I use it occasionally. Recently I used it to convert a written specification in a document to a java object. And it was like 95% correct - but having to manually double check everything and fix the errors eliminated much of the time savings.

However that's a very ideal use case. Most often I forget it exists.

[–] [email protected] 2 points 2 months ago* (last edited 2 months ago)

I use it a fair bit. Mind, it's something like formating a giant json stdout into something I want to read...

I also do find it's useful for sketching out an outline In pseudo code.

[–] [email protected] 11 points 2 months ago

It's just fancier spell check and boilerplate generator

[–] [email protected] 11 points 2 months ago* (last edited 2 months ago) (1 children)

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.

[–] [email protected] 6 points 2 months ago (1 children)

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

[–] [email protected] 2 points 2 months ago

It's definitely exploded but content farms were a problem even before 2022. There's a reason google results starting with "reddit" / "stack overflow" were trending so hard.

[–] [email protected] 5 points 2 months 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.

[–] [email protected] -3 points 2 months ago

Judging this article by it's title (refuse to click). Calling BS. ChatGPT has been a game changer for me personally

[–] [email protected] -2 points 2 months ago (1 children)

To be honest ChatGPT pretty much killed the fun of programming.

[–] [email protected] 2 points 2 months ago (1 children)
[–] [email protected] 1 points 2 months ago

Programming was like a challenge, you have a problem and you need to solve it. You look into the internet, stack overflow, test different chunks of codes, reading documentation, etc. nowadays is simply splitting one problem into pieces, and then copy pasting.

[–] [email protected] 9 points 2 months 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 ?

load more comments
view more: next ›