• x74sys@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Honestly, I would argue about the complexity of it. The discord API is straightforward, and what you’re describing doesn’t sound that complicated.

    And we have seen fairly complex stuff that AI did, but if it does pull it off somehow, the next question is quality.

    I just read a bit of AI code a few minutes ago, and it didn’t take long to step over a chain of if / else if statements where only the first if statement if reachable, the rest is not. The code should’ve been one if statement followed by a match statement. Not sure why the LLM thought “combine” two logically completely separate statements into one. And that was in 1.5kloc it generated, so not much. There’s probably even more, I just read a fraction of it.