by krackers · 1y ago · 0 comments
So yes it does increase "velocity" for the person A who can get away with using it. But then the decrease in velocity for person B trying to build on top of that code is never properly tracked. It's like a game of hot potato, if you want to game the metrics you better be the one working on greenfield code (although I suppose maintenance work has never been looked at favorably in performance review; but now the cycle of code rot is accelerated)
Turns out sometimes the next guy who has to do maintenance is oneself.
Over the years I've been well-served by putting lots of comments into tickets like "here's the SQL query I used to check for X" or "an easy local repro of this bug is to disable Y", etc.
It may not always be useful to others... but Future Me tends to be glad of it when a similar issue pops up months later.
After it becomes second-nature is really relaxing to know I have left all the context I could muster around, comments in tickets, comments in the code referencing a decision, well-written commit messages for anything a little non-trivial. I learnt that peppering all the "whys" around is just being a good citizen in the codebase, even if only for Future Me.
It doesn’t really get its own anything, as it is unable to "get". It's just a probabilistic machine spitting out the next token
As are you and I. Did you have a deeper point to make?
Shiny new stuff quickly produced, manager smiles and pays, contractor disappears, heaven help the poor staffers who have to maintain it.
It's not new, just in a new form.
Leadership is buying into the hype and busy turning everyone into overzealous slopmongers. Companies are pushing an “AI Fluency” framework where people are encouraged (read: forced) to use LLMs and agentic coding in every aspect of development.
Offhand anecdote, 1990s
That reminds me of when the German corporation my mother worked for moved more and more production to China end of last century. All the failures that the still existing German factory had to handle by repairing them ended up in their accounts. From the top bosses' point of view, just looking at the accounting data, the China production looked clean.
Of course, unsurprisingly (with enough effort), they made it work over the years, fulfilling the prophecy. Good for China.
How you account for things shifts the narrative and then reality follows the investments made based on that.
The same is true for many people submitting PRs to OSS. They don't care about making real contributions, they just want to put something on their resume.
AI is probably making it more common, but it really isn't a new issue, and is not directly related to LLMs.
I don't agree with this at all. As a freelancer your incentive is to extend the contract or be remembered as the best contractor when the client needs help again. You should be the expert that improves the codebase and development practices, someone the internals can learn from.
I never did this when I was a freelancer.
(I also find the people who simply paste LLM output to you in chat are the much bigger evil)
its great for you principles - perfect job security, sitting up on your thrones casting judgement on entry level staffers that are forced to use LLM code to make a fast impact. maybe try teaching your juniors how to do it the right way, rather than passive aggressively impacting someones physical safety net. shame on all of you assholes.
We're not talking some entry level staffers here, it's senior engineer FTEs who are employed at a tech company who are doing this.
They kept repeatedly getting an NC-17 from the MPAA and kept on resubmitting it (6 times) until just before release when they just relented, gave it an R and released it as-is.
https://en.wikipedia.org/wiki/South_Park:_Bigger,_Longer_%26...
You certainly can. Not productively, but you can.
Yes, you're 100% right, but A is always responsible for his output, and if the output's crap then he should either step up or refresh his CV.
If any of my colleagues (or me), tried to use such a card the road to unemployment would be a quick one.
This describes most projects I've been on where there wasn't a thorough RFC process?
Where I'm seeing the sweet spot right now:
1. Have a detailed RFC
2. Ticket out the work
3. Feed the RFC and ticket to the LLM via MCP
4. Have your refactoring and design patterns textbooks close at hand so you can steer the LLM properly when things start to get messy. "DRY this out" or "implement this using X pattern" tend to be highly effective prompts
5. Use agents or other LLMs to review code for RFC compliance, test coverage, etc. (this isn't as effective as I'd like it to be right now, skill issue probably)
6. When there are bugs, force the LLM to do TDD - say "We're observing a bug in production, here are the reproduction steps, write a failing test that covers this code path." Obviously check that the test is a real test and not slop. Then, prompt the LLM to fix the isue.
Today I realized that there was a fundamental error in the architecture and now I have to port several thousand lines of typescript into C++. I really hate it here.
Of course, golden rules are 1. write the tests yourself, don't let the LLM write them for you and 2. don't paste this code directly on the LLM prompt and let it generate code for you.
In the end it boils down to specification: the prompt captures the loosely-defined specification of what you want, LLM spouts something already very similar to what you want, tweak it, test it, off you go.
With test driven development this process can be made simpler, and other changes in other parts of the code are also checked.