Clothes have never been cheaper. These days a t-shirt is often cheaper than a decent cup of tea in a cafe. The wonders of capitalism. At least that is how it is often described. And when you point at the underpaid, gruesome labor that people in poorer regions of the planet have to do to […]
I don’t care whether it goes away. Neither have tapeworms, and while some people claim it helps with weight loss, most people are not up for it.
The first usecase: One-off scripts. That is “do my homework for me” help. You can spend a minute reading the manual instead. Next time you do it, you can do it faster than through the LLM.
The second usecase touches on something you might be bad at: abstractions and maintainability. We already had autocomplete. 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. Avoiding the annoyance of writing the block is you solving the wrong problem.
I disagree on both of those. One off scripts are generally low value. I’ve probably written tens of thousands of lines of bash, but I still look up syntax every time because I purge the low value info when I’m done.
And autocomplete is exactly there for boilerplate and obvious code. There is ALWAYS a need for that code. Trying to abstract away all duplication will often burn a lot of new brain cycles for both the original engineer and the next engineer that has to maintain it. Sometimes the straightforward code is the best code. And that isn’t even touching on bootstrapping a new project which will necessarily require a lot of that basic repetitive code.
I’m still an AI skeptic and anti-AI, but you can be opposed to something while still recognizing it’s use.
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.
I wrote “Code-line” completion by the way, not “Code block” completion.
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.
Y’all are so pretentious.