I’ve finished a small project that is rather non-standard for me: it has just a few hundred lines of logic written by me, and most of the code is rather banal functions I picked up from the different articles and doc sheets (you know, those functions that are quite “atomic” like “check if the process is running” or “get the process name by pid by reading /proc dir” or “get a mount point by a filename”)

The code was written in a “ok, let’s experiment if I can do this” approach, so now it is in a complete mess.

So the question is if is there some AI that can do an initial code review for me? I’ve tried GhatGPT, but it was completely banal and useless.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    I’ve had mostly “meh” experiences with llm code reviews. They’re great for catching typos and other small issues that people tend to be bad at seeing. But they tend to provide very little in meaningful assistance. They don’t do well with considering context.

    But I’m a pretty experienced developer. If you’re learning it might help provide guidance on what is canonical for your language, or edge-cases of functions that you might not be aware of.

    I consider them to be a first-pass “sanity check” at best, and take its suggestions with a grain of salt.