"No Duh," say senior developers everywhere.

The article explains that vibe code often is close, but not quite, functional, requiring developers to go in and find where the problems are - resulting in a net slowdown of development rather than productivity gains.

you are viewing a single comment's thread
view the rest of the comments
[–] 11 points 1 year ago* (9 children)

I have never seen an AI generated code which is correct. Not once. I've certainly seen it broadly correct and used it for the gist of something. But normally it fucks something up - imports, dependencies, logic, API calls, or a combination of all them.

I sure as hell wouldn't trust to use it without reviewing it thoroughly. And anyone stupid enough to use it blindly through "vibe" programming deserves everything they get. And most likely that will be a massive bill and code which is horribly broken in some serious and subtle way.

  • source
  • hideshow 9 child comments
  • [–] 3 points 1 year ago* (last edited 1 year ago) (2 children)

    I've used Claude code to fix some bugs and add some new features to some of my old, small programs and websites. Not things I can't do myself, but things I can't be arsed to sit down and actually do.

    It's actually gone really well, with clean and solid code. easily readable, correct, with error handling and even comments explaining things. It even took a gui stream processing program I had and wrote a server / webapp with the same functionality, and was able to extend it with a few new features I've been thinking to add.

    These are not complex things, but a few of them were 20+ files big, and it manage to not only navigate the code, but understand it well enough to add features with the changes touching multiple files (model, logic, view layer for example, or refactor a too big class and update all references to use the new classes).

    So it's absolutely useful and capable of writing good code.

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • [–] 1 point 1 year ago

    for me it typically don't cause syntax errors, but the main thing it fucks up is what you specifically told them to do, where the output straight up does not perform the way your specification requires. If it's just some syntax errors at least the compiler can catch them, this you won't even know if you don't bother testing the output.

  • source
  • parent
  • [–] 1 point 1 year ago*

    Eh I had it write a program that finds my PCs ip and sends it to the Unifi gateway to change a rule. Worked fine but I guess technically it is mostly using the go libraries written by someone else.

  • source
  • parent
  • [+] -4 points 1 year ago (4 children)
  • [–] 3 points 1 year ago (1 child)

    To add on to what others have said, vibe coding is ushering in a new golden age for black hat hackers. If someone is rely entirely on AI to generate code they likely don't understand what the code they have is actually doing. This tends to lead to an app that works correctly for what the prompted specified but behaves badly the instant it has to handle anything outside of the prompt, like a malformed request or data outside the prompted parameters. As a result these apps tend to be easy to exploit by malicious actors, often in ways the original prompter never thought of.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    I think this is what will kill vibe coding, but not before there's significant damage done. Junior developers will be let go and senior devs will be told they have to use these tools instead and to be twice as efficient. At some point enough major companies will have had data breaches through AI-generated code that they all go back to using people, but there will be tons of vulnerable code everywhere. And letting Cursor touch your codebase for a year, even with oversight, will make it really tricky to find all the places it subtly fucked up.

  • source
  • parent
  • [–] 2 points 1 year ago

    If the code doesn't compile, or is badly mangled, or uses the wrong APIs / imports or forgets something really important then it's broken. I can use AI to inform my opinion and sometimes makes use of what it outputs but critically I know how to program and I know how to spot good and bad code.

    I can't speak for how you use it, but if you don't have any real programmers and you're iterating until something works then you could be producing junk and not know it. Maybe it doesn't matter in your case if its a bunch for throwaway scripts and helpers but if you have actual code in production where money, lives, reputation, safety or security are at risk then it absolutely does.

  • source
  • parent
  • load more comments (-1 replies)