News for hackers. Stuff that matters.
Re:AI can't even fix a simple bug – but sure, let's fire eng... by OutOfHere on Saturday May 24, 2025 @01:21PM (#44082443)
> there are people who use it poorly, and people who use it well.

Precisely. AI needs appropriate and sufficient guidance to be able to write code that does the job. I make sure my prompts have all of the necessary implementation detail that the AI will need. Without this guidance, the expected result is not a good one.

Re:AI can't even fix a simple bug – but sure, let's fire eng... by spookie on Saturday May 24, 2025 @01:28PM (#44082500)
This often doesn't scale well. And coming up with all the necessary context in writing is a bit harder than when programming.
Re:AI can't even fix a simple bug – but sure, let's fire eng... by OutOfHere on Saturday May 24, 2025 @01:40PM (#44082596)
Well, it's where we are now with AI technology. Perhaps a superior future AI will need less of it. For now I give it all that I think it won't reliably figure out on its own.
Re:AI can't even fix a simple bug – but sure, let's fire eng... by DragonStrength on Saturday May 24, 2025 @01:44PM (#44082627)
It's actually where we have always been with software development, which is why so many software professionals think the media narrative is so stupid.

Oh, you want to fire your engineers? Easy, just perfectly specify exactly what you want and how it should work! Oh, that's what the engineers are for? Huh!

Re:AI can't even fix a simple bug – but sure, let's fire eng... by OutOfHere on Saturday May 24, 2025 @02:09PM (#44082799)
Yup, but the management, essentially the ones who control the hiring and firing, are more clued into the media narrative, with a bias toward dismissing what engineers think.
Re:AI can't even fix a simple bug – but sure, let's fire eng... by dinfinity on Saturday May 24, 2025 @01:44PM (#44082633)
> AI needs appropriate and sufficient guidance to be able to write code that does the job.

Note that the example (shitty Microsoft) implementation was not able to properly run tests during its work, not even tests it had written itself.

If you have an existing codebase that already has a plenty tests and you ask AI to refactor something whilst giving it the access it needs to run tests, it can already sometimes do a great job all by itself.

Good specification and documentation also do a lot, of course, but the iterative approach with feedback if things are actually working as intended is a game changer. Not unsurprisingly also a lot closer to how humans do things.

Re:AI can't even fix a simple bug – but sure, let's fire eng... by OutOfHere on Saturday May 24, 2025 @03:27PM (#44083250)
The iterative approach has one problem -- it is onerous to repeat the lengthy iterative process with a different model, as it will lead to an entirely different conversation. In contrast, when the spec is well-written up-front, it is trivial to switch models to see how the other model implements it differently.