I really try, but for the life of me, I can’t get AI to generate anything useful beyond simple tests.
They’re still autocomplete++ for me.
I really try, but for the life of me, I can’t get AI to generate anything useful beyond simple tests.
They’re still autocomplete++ for me.
Rather than your seeing someone stream "really effective 99th percentile AI coding", maybe it would be more illustrative for us all to see someone stream the "50th percentile developer unassisted" experience.
I suspect that's the thing we're all missing to help us understand the potential value of AI coding: how slow and ineffectively the median software developer works, bc they just quietly slog away and don't talk much about how they work :)
I humbly include myself on that thought btw
I recently spent the whole day debugging open source third parties on multiple OSes while using Wireshark to understand how the whole thing worked. Then I typed 5 lines for a fix in less than 30 seconds. How would an LLM help me here?
You either have not written very much code, don’t know what boilerplate means, or are intentionally operating under an overly broad definition
I’ve only seen boilerplate used by web developers, but I’m not doing that.
Graphics programming, data science, anything involving handling user input and probably many more classes of software require ceremony and boilerplate to get going.
Vulkan famously takes 1000 lines of C++ boilerplate before you can draw a triangle.
Look into writing a X or Wayland compositor and you’ll see a mountain of boilerplate involved in handling input loops, displays, and communicating with the kernel.
I want to see how someone who’s confident in using these tools write code with them.
I’m not as interested in the median developer’s coding practices.
A recent e.g. "Use the Javascript module pattern to create a module that stores audio chunks, recording state, and exposes functions to start and stop recording, and to store audio data"
It's a really simple task, but that prompt saved me 20 minutes of typing and futzing about. It also named the module sensibly, based on context from the rest of the code I guess. Then it prompted me on what to change in the calling code to use the new module (this wasn't 100% right, but still saved me a couple rounds of running the code and fixing problems).
It's taken me a while to change my habit of working out how to do what I want to do and then editing code, to rather just saying what I want to do, and being specific about it.
I can maybe pull snippets out of AI generated code, but more often than not I just ask it for quick examples. Like I would do for stack overflow.