• humanspiral@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    For my language, J, I can’t get autocomplete.

    Even though J is a functional language (on extreme end), it also supports fortran/verbose python style, which LLMs will write. I don’t have the problem of understanding the code it generates, and it provides useful boilerplate, with perhaps too many intermediate variables, but with the advantage that it tends to be more readable.

    Instead of code complete, I get to use the generation to copy and paste into shorter performant tacit code. What is bad, is that the models lose all understanding of the code transformation, and don’t understand J’s threading model. The changes I make means it loses all reasoning ability about the code, and to refactor anything later. Excessive comments helps, including using comments as places to fix/generate code sections.

    So, I get the warning about “code you don’t understand” (but that can still happen later with code you write), and comment system helps. The other thing he got wrong is “prompt complexity/coaxing”. It is actually never necessary to add “You are a senior software…”. Doing so only changes the explanation level for any modern model, and opencode type tools don’t or separate off the explanation section.

    LLM’s still have extreme flaws, but article didn’t resonate on the big ones, for me.