• lemmydividebyzero@reddthat.comOP
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    4 days ago

    You can spend a minute reading the manual instead. Next time you do it, you can do it faster than through the LLM.

    I talked about writing a script that can be 20 to 50 lines. That costs me far more than “a minute” of manual reading. I generate the script, I review it, I execute it and then throw it away. Sounds like a win-situation for me. I have more time for my actual homework.

    Autocompleting a block of code

    I wrote “Code-line” completion by the way, not “Code block” completion.

    Autocompleting a block of code is a sign that you are not writing anything new and a signal to think about whether there is semantic duplication in the code that should be explored.

    Have you ever tried it out (e.g. GitHub Copilot)? Not sure what you mean exactly, especially by “writing anything new”. It can of course auto-complete stuff that does not exist in the code base. There is lots of code in the training data. Or do you mean “writing completely new stuff that hasn’t been written by anyone”? Because only few people do that, I guess.


    One more good usage I experienced is giving it text (e.g. a documentation file for customers) and the task to find/fix the typos. I’m pretty good at finding them (at least in my native language German), but you probably guessed it: I’d rather do other stuff.