this post was submitted on 22 May 2025
250 points (95.0% liked)

Programming

20294 readers
298 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 [email protected]



founded 2 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] Reptorian 1 points 34 minutes 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.

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

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

[–] LeFantome 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?

[–] [email protected] 16 points 21 hours ago* (last edited 21 hours ago)

what are the legal implications?

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

[–] [email protected] 16 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 😂

[–] [email protected] 24 points 19 hours ago* (last edited 19 hours 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.

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

[–] [email protected] 3 points 14 hours ago

I'm going back to TurboBASIC.

[–] [email protected] 4 points 17 hours ago* (last edited 17 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 1 points 14 hours ago* (last edited 14 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.

[–] [email protected] 6 points 14 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 3 points 13 hours ago

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

[–] [email protected] 5 points 14 hours ago (1 children)

Its good as a glorified autocomplete.

[–] ulterno 2 points 14 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.

[–] [email protected] 5 points 13 hours ago

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

[–] [email protected] 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.

[–] [email protected] 1 points 1 hour 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.

[–] [email protected] 4 points 9 hours ago

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

[–] [email protected] 41 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 [email protected]".

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 1 points 33 minutes ago

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.

[–] [email protected] 48 points 1 day ago (10 children)

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

load more comments (10 replies)
load more comments (6 replies)
[–] [email protected] 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)
[–] [email protected] 21 points 1 day ago (2 children)

If humans are so good at coding, how come there are 8100000000 people and only 1500 are able to contribute to the Linux kernel?

I hypothesize that AI has average human coding skills.

[–] [email protected] 3 points 20 hours ago* (last edited 20 hours ago) (1 children)

The average coder is a junior, due to the explosive growth of the field (similar as in some fast-growing nations the average age is very young). Thus what is average is far below what good code is.

On top of that, good code cannot be automatically identified by algorithms. Some very good codebases might look like bad at a superficial level. For example the code base of LMDB is very diffetent from what common style guidelines suggest, but it is actually a masterpiece which is widely used. And vice versa, it is not difficult to make crappy code look pretty.

load more comments (1 replies)
[–] [email protected] 18 points 1 day ago (2 children)

Average drunk human coding skils

load more comments (2 replies)
[–] andybytes 10 points 1 day ago

My theory is not a lot of people like this AI crap. They just lean into it for the fear of being left behind. Now you all think it's just gonna fail and it's gonna go bankrupt. But a lot of ideas in America are subsidized. And they don't work well, but they still go forward. It'll be you, the taxpayer, that will be funding these stupid ideas that don't work, that are hostile to our very well-being.

load more comments
view more: next ›