• Passerby6497@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    8 hours ago

    Does a dev really need to understand the code if the AI understands it?

    That if is doing a lot of lifting here, because AI doesn’t understand anything, it only finds mathematical responses to your question. There’s a reason the AI can’t give you the same script twice (or it constantly rewrites the fucking thing instead of just fixing the thing I told it to)

    • 8uurg@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 hour ago

      These models do have some form of understanding though. There are features for bugs and typos, and general features that map descriptions and pieces of code. It understands the code in so far it helps with next token prediction.

      The bigger problem is that these language models are inherently unreliable and stochastic in how they generate. You request a feature - and it destroys something else in the process - because a single incorrect prediction caused it to diverge and skip a portion of the original code. You request a small modification - and it decides to restart from scratch - because random sampling made a different way of doing something more likely rather than what was there already. Errors compound and the model has no way of fixing or correcting them.