by hinkley · 3y ago · 0 comments
But they are typically lazy and copy and paste that code from existing places. If you can remove the last copy from the code, they will finally stop.
And now that special idiot is a piece of software that never sleeps, never eats, and never forgets? What could go wrong?
It's much easier to get one model to change its behavior, than 1000 software engineers.
What I’ll buy: Using LLMs to write less code (maybe even delete a lot)
People write a lot of code because the alternatives usually have their own set of problems. Compact/clever code is hard to understand, debug and evolve. "Write only code" is only half a joke.
Languages like APL and K have some appeal due to their expressiveness but they are understandably rejected by most engineers because it's really hard to build a sustainable large scale system with many engineers
Without thorough automated tests I wouldn't trust myself to be able to effectively review the code.
Google's monorepo and tooling for changes across the entire repo make it possible and common to fix entire classes of mistakes at once. Bad patterns lingering in copy/paste is not an issue in practice due to a combination of such changes and linter presubmits that identify and flag any recurrence in the future.
>more concise ways to render the logic
This isn't better either.
Edit before the shitstorm:
This isn't necessarily better either.
But I also don't want to read Haiku either. All the burden is on the reader, and there are many readers.
Usually what I want is a short story. Long enough to be accurate, short enough to lose distracting and unnecessary information.
I find people creating these DRY abstractions with a lot of knobs to be strange. End up with dryWithRain, drySpicy, dryStrict, dryTurbo
then the abstraction is a maze of confusion
Pain in information and they throw away a lot. It's a form of job security, and not a particularly benign kind.
Our job is to replace painful processes with code. If you can't do that you aren't fulfilling the basic premise of your profession.
The wisdom of crowds, if it applies to teams, is in communication. I talk you out of cutting corners, and sometimes you talk me out of it. There's no communication in a training corpus. You just get the average of all of the code that wasn't so horrible that people stopped what they were doing to fix it. Which is to say, half of the code is barely tolerable.