by jon-wood · 1y ago · 0 comments
Review the code. Hell, maybe even write some code yourself.
What you're describing is how I feel whenever I use an LLM for anything more than the most basic of tasks. I've gone from being a senior level software developer to managing a barely competent junior developer who's only redeeming skill is the ability to type really, really quickly. I quit the management track some time ago because I hated doing all my software development via the medium of design documents which would then be badly implemented by people who didn't care, there's no way you're going to get me to volunteer for that.
And while AI often produces high-quality code on the surface, when things go wrong, they take longer to fix. MTTR for AI-generated code is much higher, especially when devs don’t fully grok the code they accepted. That undercuts a lot of the perceived velocity gains, especially in complex, evolving systems.
I know if I leet code ground myself into the dirt, I’d get better, and more importantly: faster.
But there’s never been any payoff to me full-time coding.. not when the pay is close to coding, and my role wants me to address test tech debt or Nice To Haves tooling, and (until Go) I had to do my 9-5 work in a scripting language…
There’s now more days behind me than ahead, and I no longer want to understand low level details and theories about the kernel or TTY.
All progress is built on abstraction. It has to be.
Re LLMs I love collaborative coding because I can sometimes pick up or teach new tricks. If I'm too tired to type the boilerplate I sometimes use an LLM. These are the only two redeeming values of LLM agents: they produce code or designs I can start from when I ask them too. I rarely do.
I hope OP can find a balance that works. It's sad to see the (claimed) state of the art be a soulless crank we have to turn.
Then if I need something similar for a Dockerfile, I’d write that also. The duplication is a sad feeling.
So I described what I wanted, /bin/sh with posix, detailed what both scripts do, and it merged both scripts without ever seeing their full codebases! (Both for work and my own code, I never share code unless it’s already in a public repository)
I fired up ShellCheck linter and zero issues. At work I Replaced both tech-debt laden scripts with a repo and people said they’d use it too, NICE cleanup, and how long did it take? :-)
I can and have lead discovery sessions either virtually or hop on plane and do it in person, design the architecture, be a halfway decent project manager, tech lead, hands on development, take an empty AWS account and set up best practices from a security, networking, deployment pipelines, etc.
But I can’t do it all at once and there is still only so much I can do at once and no business would be happy with the length of time it would take me or any one person to do a complex implementation at scale. At some point, if you have big ideas, you have to lead projects.
However LLMs make a damn good and fast junior developer that can do it all especially on a green field project with clear requirements and the amount of work I can get done now by myself on each of those levels - post requirement gathering is at least 2x - 3x.
And I am not bragging - I’m old. I should be able to do all of things I mentioned.
Code is an implementation detail. My job has always been to get computers to do stuff to either make the computer money or to save the computer money either via my own hands or via leading a team.
---
For example: About two years ago I worked with a contractor who was a lot more junior than our team needed. I'd give him instructions, and then the next day spend about 2-3 hours fixing his code. In total, I was spending half of my time handholding the contractor through their project.
The problem was that I had my own assignments; and the contractor was supposed to be able to do their job with minimal oversight. (IE, roughly 0.5-1.5 hours of my day.)
If the contractor was helping me with my assignment; IE, if the contractor was my assistant, I'd have loved the arrangement.
(In case you're wondering how it ended up for the contractor, we let him go and hired someone who worked out great.)
---
I suspect if the OP can figure out how to make the AI an assistant, instead of an employee with autonomy, then it will be a better arrangement. I personally haven't found an AI that does that for me, but I suspect I'm either using it incorrectly or using the wrong tools.
Ask it first to plan out a project you briefly described, focus on the planning, file structure is ok but no coding. Tell it what functionality is integrated, or what what should become a standalone module. Ask it to summarize.
I then start a new chat for the code, and tell it follow the summary. Tell it “before you make code, ask questions if there is commonly another way to do this.
Chances are you’ve done this way more than me and tried variations of this. But it’s working here as an assistant. I’m now doing wIdk I wasn’t hired for, and people are happy.
I tried... It couldn't handle changes that spanned multiple files.
Hits the nail on the head. For an actual junior developer, they'd at least learn over time. With LLM, open up a new chat and you start with a new hire.
I spend most of my time editing these files. It's as if I am training a junior dev.