• shalafi@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    18 hours ago

    AI code is great for getting over a hump, something you’re stuck on. Used ChatGPT (not the best for coding, I know) to help on a PowerShell script. There was exactly two references on the internet for what I wanted to do (Google Calendar/Sheets integration). Spent hours on the problem.

    ChatGPT gave me two things: One solution I didn’t know was a thing, another was a twist I hadn’t thought of. For giggles, I plugged the whole script in. Guess what? Failed instantly. Because of course it did.

    No. LLMs don’t write working code. Yes. They can help you, assuming you know what you’re doing in the first place. But here’s the crux of using AI:

    It does not, and cannot, give a shit about edge cases, user error and security.

    I wrote a simple PS script to swap my TV screens around for work, play and movies. Rolled it out in 30 minutes. Took me 2 more hours to stupid proof it, test it, wrap it an exe, make an icon, deploy it, all that. AI can’t do any of that.