While you are correct, as all tools AI is not bad per se.
If you use ai to replace more lengthy documentation searches and write your own code that works out pretty well and speed up your work without degrading your coding. Granted, I got plainly incorrect answers as well, but at least I managed to be much more efficient.
Treat LLMs/ai as a glorified documentation aggregator and that’s how you correctly use that tool.
Like, use a knife to cut and cook meat, not to cut another person body, and that’s how you correctly use that tool too.
IMALlama@lemmy.world 3 weeks ago
Straight up vibe coding is a horrible idea, but I’ll happily take tools to reduce mundane tasks.
The project I’m currently working on leans on Temporal for durable execution. We define the activities and workflows in protobufs and utilize codegen for all the boring boiler plate stuff. The project hasa number of http endpoints that are again defined in protos, along with their inputs and outputs. Again, lots of code gen. Is code gen making me less creative or degrading my skills? I don’t think so. It sure makes the output more consistent and reduces the opportunity for errors.
If I engage gen AI during development, which isn’t very often, my prompts are very targeted and the scope is narrow. However, I’ve found that gen AI is great for writing and modifying tests and with a little prompting you can get pretty solid unit test coverage for a verity of different scenarios. In the case of the software I write at work the creativity is in the actual code and the unit tests are often pretty repetitive (happy path, bad input 1…n, no result, mock an error at this step, etc). Once you know how to do that there’s no reason not to offload it IMO.
artwork@lemmy.world 3 weeks ago
Thank you! You do you.