And most devs I know use it everyday, so… 🤷
Especially for repetitive mundane code, like they said. It’s much faster to check code for correctness than it is to write it in the first place.
“I need to restructure this directory tree. If a file has “index” in the name, then it has to go in a parallel directory structure starting at “/home/repos/project/indexes/” with the same child folders as the original.”
There, I just finished a custom Python script to accomplish that. Can I do it myself? Yes. Can I do it in 30 seconds? No. Why would I waste my time writing such a mundane script for a one-off thing?
Senal@programming.dev 1 day ago
In certain circumstances sure, but at any level of complexity, not so much.
At some point it becomes less about code correctness and more about logical correctness, which requires contextual domain understanding.
Want to churn out directory changing python scripts, go nuts.
Want to add business logic that isn’t a single discrete change to an existing system, less likely.
For small things is works OK, it’s less useful the more complex the task.