this post was submitted on 22 May 2025
266 points (94.9% liked)

Programming

20294 readers
316 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] TempermentalAnomaly@lemmy.world 7 points 4 hours ago (1 children)

I am not a programmer and I think it's silly to think that AI will replace developers.

But I was working through a math problem in Moscow Puzzles with my kiddo.

We had solved it, but I wasn't sure he got it at a deep level. So I figured I'd do something in Excel or maybe just do cut outs. But I figured I'd try to find a web app that would do this better. Nothing really came up that was a good match. But then thought, let's see how bad AI programming can be. I'd fought with it over some excel functions and it's been mainly useful in pointing me in the right direction, but only occasionally getting me over the finish line.

After about 6 to 8 hours of work, a little debugging, havinf teach and quiz me occasionally, and some real frustration of pointing out that the feature previously changed and re-emeged, I eventually had something that worked.

The Shooting Range Simulator is a web-based application designed to help users solve a logic puzzle involving scoring points by placing blocks on vertical number lines.

A buddy developer friend of mine said: "I took a quick scroll through the code. Looks pretty clean, but I didn't dive in enough to really understand it. Definitely all that css BS would take me ages to do without AI."

I don't take credit for this and don't pretend that this was my work, but I know my kiddo is excited to try the tool. I hope he learns from it and we bond over a math problem.

I know that everyone is worried about this tool, but moments like those are not nothing. Personally, I'm a Luddite and think the new tools should be deployed by the people's livelihood it will effect and not the business owners.

[–] bignose@programming.dev 4 points 3 hours ago

Personally, I’m a Luddite and think the new tools should be deployed by the people’s livelihood it will effect and not the business owners.

Thank you for correctly describing what a Luddite wants and does not want.

[–] Reptorian@programming.dev 1 points 5 hours ago

I'll admit I did used AI for code before, but here's the thing. I already coded for years, and I usually try everything before last resort things. And I find that approach works well. I rarely needed to go to the AI route. I used it like for .11% of my coding work, and I verified it through stress testing.

[–] glitchdx@lemmy.world 8 points 9 hours ago

If AI was good at coding, my game would be done by now.

[–] LeFantome@programming.dev 19 points 1 day ago (1 children)

Can Open Source defend against copyright claims for AI contributions?

If I submit code to ReactOS that was trained on leaked Microsoft Windows code, what are the legal implications?

[–] proton_lynx@lemmy.world 16 points 1 day ago* (last edited 1 day ago)

what are the legal implications?

It would be so fucking nice if we could use AI to bypass copyright claims.

[–] notannpc@lemmy.world 15 points 1 day ago (1 children)

AI is at its most useful in the early stages of a project. Imagine coming to the fucking ssh project with AI slop thinking it has anything of value to add 😂

[–] HaraldvonBlauzahn@feddit.org 26 points 1 day ago* (last edited 1 day ago) (2 children)

The early stages of a project is exactly where you should really think hard and long about what exactly you do want to achieve, what qualities you want the software to have, what are the detailed requirements, how you test them, and how the UI should look like. And from that, you derive the architecture.

AI is fucking useless at all of that.

In all complex planned activities, laying the right groundwork and foundations is essential for success. Software engineering is no different. You won't order a bricklayer apprentice to draw the plan for a new house.

And if your difficulty is in lacking detailed knowledge of a programming language, it might be - depending on the case ! - the best approach to write a first prototype in a language you know well, so that your head is free to think about the concerns listed in paragraph 1.

[–] MonkderVierte@lemmy.ml 5 points 23 hours ago (2 children)

the best approach to write a first prototype in a language you know well

Ok, writing a web browser in POSIX shell using yad now.

[–] ChickenLadyLovesLife@lemmy.world 3 points 18 hours ago

I'm going back to TurboBASIC.

[–] HaraldvonBlauzahn@feddit.org 4 points 22 hours ago* (last edited 22 hours ago)

writing a web browser in POSIX shell

Not HTML but the much simpler Gemini protocol - well you could have a look at Bollux, a Gemini client written im shell, or at ereandel:

https://github.com/kr1sp1n/awesome-gemini?tab=readme-ov-file#terminal

[–] ulterno@programming.dev 2 points 19 hours ago* (last edited 19 hours ago) (2 children)

AI is only good for the stage when...

AI is only good in case you want to...

Can't think of anything. Edit: yes, I really tried
Playing the Devils' advocate was easier that being AI's advocate.


I might have said it to be good in case you are pitching a project and want to show some UI stuff maybe, without having to code anything.
But you know, there are actually specialised tools for that, which UI/UX designers used, to show my what I needed to implement.
And when I am pitching UI, I just use a pencil and paper and it is so much more efficient than anything AI, because I don't need to talk to something, to make a mockup, to be used to talk to someone else. I can just draw it in front of the other guy with 0 preparation, right as it came into my mind and don't need to pay for any data center usage. And if I need to go paperless, there is Whiteboards/Blackboards/Greenboards and Inkscape.

After having banged my head trying to explain code to a new developer, so that they can hopefully start making meaningful contributions, I don't want to be banging my head on something worse than a new developer, hoping that it will output something that is logically sound.

[–] ChickenLadyLovesLife@lemmy.world 7 points 18 hours ago (1 children)

AI is good for the early stages of a project ... when it's important to create the illusion of rapid progress so that management doesn't cancel the project while there's still time to do so.

[–] ulterno@programming.dev 3 points 17 hours ago

Ahh, so an outsourced con~~man~~computer.

[–] Irelephant@lemm.ee 5 points 19 hours ago (1 children)

Its good as a glorified autocomplete.

[–] ulterno@programming.dev 3 points 19 hours ago (1 children)

Except that an autocomplete, with simple, lightweight and appropriate heuristics can actually make your work much easier and will not make you have to read it again and again, before you can be confident about it.

[–] Irelephant@lemm.ee 6 points 18 hours ago

True, and it doesn't boil the oceans and poison people's air.

[–] oakey66@lemmy.world 35 points 1 day ago (2 children)

It’s not good because it has no context on what is correct or not. It’s constantly making up functions that don’t exist or attributing functions to packages that don’t exist. It’s often sloppy in its responses because the source code it parrots is some amalgamation of good coding and terrible coding. If you are using this for your production projects, you will likely not be knowledgeable when it breaks, it’ll likely have security flaws, and will likely have errors in it.

[–] Excrubulent@slrpnk.net 1 points 5 hours ago

And I'll keep saying this: you can't teach a neural network to understand context without creating a generalised context engine, another word for which is AGI.

Fidelity is impossible to automate.

[–] tisktisk@piefed.social 4 points 14 hours ago

So you're saying I've got a shot?

[–] atzanteol@sh.itjust.works 39 points 1 day ago (8 children)

Have you used AI to code? You don't say "hey, write this file" and then commit it as "AI Bot 123 aibot@company.com".

You start writing a method and get auto-completes that are sometimes helpful. Or you ask the bot to write out an algorithm. Or to copy something and modify it 30 times.

You're not exactly keeping track of everything the bots did.

[–] Reptorian@programming.dev 1 points 5 hours ago (1 children)

I used it only as last resort. I verify it before using it. I only had used it for like .11% of my project. I would not recommend AI.

[–] atzanteol@sh.itjust.works 0 points 25 minutes ago

My dude, I very code other humans write. Do you think I'm not verifying code written by AI?

I highly recommend using AI. It's much better than a Google search for most things.

[–] eager_eagle@lemmy.world 49 points 1 day ago (11 children)

yeah, that's... one of the points in the article

load more comments (11 replies)
load more comments (6 replies)
[–] Prime@lemmy.sdf.org 10 points 1 day ago (3 children)

Microsoft is doing this today. I can't link it because I'm on mobile. It is in dotnet. It is not going well :)

load more comments (3 replies)
load more comments
view more: next ›