https://github.com/python-attrs/attrs/pull/1674
But I thought ai is better than 99% of all human coders?
The Clojure contribution process is starting to make more and more sense, doesnāt it
it does.
The rebuttal I expect: ⢠This isnāt unique to LLMs. ⦠There are always bad PRs ⢠These are examples of people using LLMs wrong ⦠They should be reviewing the PRs before they submit them ⦠They should be writing prompts better to avoid submitting slop ⢠LLMs can make this better. ⦠You can use LLMs to review/filter the PRs ⢠These issues are transient ⦠LLMs will get better at producing better PRs ⦠People will get better at using LLMs ⦠Weāll figure out ways to better use LLMS to review/filter PRs
I think thereās elements of truth to these rebuttals. (And Iām probably missing some. Iām not trying to build a straw man here.) I think the rebuttals discount the current issues and believe they can all be addressed sufficiently in the future.
Kovid Goyal (kitty, calibre) has an interesting approach to this. If he doesnāt like the PR he just closes it. If he does like it he merges it and then makes whatever changes to it he wants in a follow up commit (so no back and forth). It seems like a good approach but maybe some projects would just have too many contributions to keep up with. In one case the maintainer of python-attrs says they are 100% trash, but then in the case of Kitty he finds a lot of the PRs sent his way useful. That seems like a contradiction to me. In the case of Kitty is he overvaluing some of the commits? Is python-attrs undervaluing? Just different projects with different contributors? https://www.youtube.com/watch?v=OWtcgTTgSI8&t=3341s
Itās also how I work more and more, but one thing thatās a shame about this is that nobody ever learns anything from interacting about the code.
The point of back-n-forthing is not just to make the code good, it's to hook up the contributor, share your dev culture with them so that they are likely to come back with new contributions and carry that culture forward in the future. LLM-first is a sociophobia-driven development approach, on both the maintainer and the contributor side.
indeed
LLM-first is a sociophobia-driven development approachItās also productivity-maxxing behavior (on the part of the submitter). Those interactions are viewed as unwelcome friction.
OTOH when somebody comes up to you that blurbs out an LLM-produced piece of prose about your project and the person clearly doesnāt know what they are talking about, Iām not inclined to interact
like, oh you have claude now š well I have claude too, using claude myself would save time compared to building on your clauded trash
since I actually know whatās going on and youāre just trying to get a PR through
Thank you for being human.
Close and move on. We already had that discussion. I see zero point in eggshell-walking trying not to hurt LLM bro egos. I don't care about your "contribution", bye.
The problem is, Iām not always sure
Maybe I should start working with a closed group of contributors. But how do you grow such a group if you never let anyone in
It may be that the way forward is inviting people to join a chat or forum, describe the issue and approach, and then allow them to open a PR.
I've never maintained a successful opensource project so I dunno if that is a realistic thing.
yeah I think that would be a good starting point
Even if a PR is good and you simply donāt want to engage in back and forth due to minor things or donāt want to enable slop-jockeys, one approach Iāve seen is to check out their PR locally, alter it to your heartās content, and push it under your name. At least from what Iāve seen, for contributors who care about the code itās usually not that important whether something got merged in under their name or under the maintainerās.
I do this a lot too, while still making them co-authors and usually attribute the whole PR to them in the changelogs
example of today https://github.com/babashka/babashka/pull/2297
Maybe taking patches via e-mail would be best as of today
@borkdude I asked llm to rewrite your snippet into the most insufferable claudespeak possible š¤
Hi there, and welcome! This isn't just a pull request, it's the start of a collaboration, and that's worth getting right. Since we haven't met, would you mind introducing yourself? Not a formality, but a genuine invitation.
A few things I'd love to understand:
What draws you to this project? It's not just about the code, it's about the why, and honestly, that's the load-bearing question here.
How are you using it, and for how long?
How long have you been working with Clojure? No wrong answers here.
Have you contributed to other Clojure projects? Totally fine if this is your first.
I'd also love to continue this on the babashka channel on Clojurians Slack. Come say hi, and we'll chart the path forward together.
And if all this feels like more than you'd like to take on, that's completely valid. It's not a test, it's a conversation, and you're welcome to close this if it isn't the right fit. There's genuinely no pressure, and I appreciate you being here.
The only thing left is to sic an automatic classifier on all PRs from new contributors, and autoreply with this to generated ones.Shower thought: Most people agree that LLM output looks plausible - impressive, even - in fields where they have little expertise. But in areas weāre familiar with, we can clearly see the shortcomings, and how far from āgoodā it usually is. So, is software engineering the exception to the rule, or is the level of expertise in our field just not that high? š
I think itās fairly easy to see when LLM code output is not up to the standards that I expect. We do put a substantial amount of effort into trying to convince the LLM to write code to the standards that we expect.
Iām thinking beyond individual code snippets. People keep bragging about hundreds, or thousands of merges per day, gigabytes/millions of LOC of source code, etc.
Then I would say your shower thought is quite on the money. My current feeling is that the LLMs might just out code me on snippets/smaller fns, but they have a long way to go when it comes to code in the large/architecture/systems.
I have very little faith that the same people who built poor quality fragile systems before AI will have any meaningful improvement in the quality of their work with LLMs, even if some functions are faster/cleaner/more memory efficient.
Somewhat related @neumann said in his https://funcprogconf.com/#programme talk āInfinite codingā something along the lines of āprogramming is hardā. It made me think, and I donāt think programming is all that hard. Evolving systems over time, ie playing the infinite game, though is hard. And I donāt see the LLMs doing a very good job of it.
this may be true of writing in general, even if LLMs might be worse in some regards
e.g. the phenomenon of https://en.wikipedia.org/wiki/Michael_Crichton#%22Gell-Mann_amnesia_effect%22
I think most people do imply evolving systems over time when they say āprogrammingā. Saying āprogramming isnāt hard, building systems isā sounds to me like āwriting words isnāt hard, collecting enough to fill a book isā. Writing is hard. Programming is hard. š
Yah, but you know, this is Clojure, we need to be very specific and define the words we use š
Hehe
But thanks for reminding me about the talk, I havenāt seen it yet.
The difference in fields like software is that thereās a feedback loop. The LLM produces some plausible output given the context, and then that gets run and tested, it gets the results, and iterates on that. Itās basically the same process as using a genetic algorithm to solve a problem. It starts out with a rough shape of the solution, and through many iterations lands on something that fits the selection pressures. It doesnāt mean that itās going to produce beautiful code in the end, and the quality of the result is entirely dependent on the quality of the specification in turn. For some cases, itās easy enough to describe the constraints that will force a correct solution, and for others it can be difficult.
Think about the Riemann hypothesis proof. There is a way to verify the proof even though no single human āunderstandsā it. Maths is suited for AI assistance purely because there is LEAN. I saw someone describe the approach of Riemann hypothesis proof as āEverything, everywhere all at onceā. Just about 6 months ago, Terrence Tao said that he feels proving the Riemann hypothesis āwould take a new kind of mathā - he was wrong. The proof involves picking disparate pieces of math from the vast human generated math landscape and stitching them together. And yet it works. For day to day software work, formal methods are an overkill. But, software is closer to math than say painting or music. So, itās not a question of level of expertise in our field, but itās just more verifiable (compilers, unit tests, etc) so more amenable to being solved by LLMs.
Just giving Tao his due - thatās not an accurate quote: > Part of the reason we prize problems like the Riemann hypothesis is that weāre pretty sure a new type of mathematics has to be created, or a new connection between two previously unconnected areas of mathematics has to be discovered to make this work. We donāt even know what the shape of the solution is, but it doesnāt feel like a problem that will be solved just by exhaustively checking cases.
@christian767 honestly? I think itās the second - our area is plagued by amateurism. https://mauricio.szabo.link/blog/2018/05/23/to-be-wrong-even-when-youre-not/. It was on a fintech, mind you, that emitted prepaid credit cards, so HUGE RISK and regulations, and it felt like āpeople did random changes until the code compiledā and called that āsoftware engineeringā
A quite concerning big number of Ruby developers, to this day, donāt know how to query a database, donāt believe in foreign keys (donāt believe me? https://github.com/Shopify/ghostferry/issues/161#issuecomment-599509178, itās on SHOPIFY just 6 years ago), and do weird stuff that essentially makes a DB unusable, and they are completely fine with it (ājust put another cacheā is a common phrase). In the Shopify example I gave above, the dev literally said he is ānot very familiar with what the implications of FK is in terms of data consistencyā, and right now? Heās working at NVidiaā¦
Honestly? I have no freaking idea how people are ānot writing code by hand nor reviewing itā because every single time I ask for Claude to implement a full feature, no mater how small, it gets some detail wrong. Yes, it works - no, it doesnāt crash. Yes, we verify it, and have good tests. But it duplicates records, or queries the same thing twice, or is slow, or a certain combination of things donāt work, or itās not testing an edge-case, or itās checking situations that literally canāt happen (like checking if a non-nullable field is null), etc etc.
Who is "we"? I'm a programmer, ask any programmer and you'll hear the code is shit, those who like AI admit it as well, they are just on copium and tell you reasons to use it anyway. But the bosses who are literal powerless beings held hostage by only us programmers possesing the ability to think (which they lack), they have all the incentives to not only remain ignorant about how shit the code is, but also about pretending it's actually good. AI gives execs leverage over intellectual workers, it's literally a tool of subordination and domination. And that's why they force it in companies, that's why they tell each other that it works as well, it's a lie used for domination. We have literal physical (in the sense that it is material) power over the knucklehead managerial and elite class. You can't beat a computer into calculating the correct numbers. You can't beat a programmer into working correctly as well as you could do it to slaves ā you can see if the slave purposefully breaks the tool or doesn't do anything. But the bosses are utterly fucking powerless in front of programmers, all they have is their invented inefficient money market system that programmers (surprisingly!) overwhelmingly support. programmers tend to not understand information theory and thus don't understand how critques of economic planning (which is possible to do, it is achievable with one tiny data center for the entire world) that claim markets represent "information" that can't be extracted otherwise (yeah right). this might seem like a tangent but it is not. people have lived at least 200k years in egalitarian societies, not by unicorn fantasy rules, but because there was no practical possibility for alpha dominant elites to appear without being immediately eliminated physically. people had power over the dominant chimps among them. nowadays is different, we have very little power over elites, because we live by the made up rules of their system. the little power that we do have over them, however, is the ability to THINK and work, they depend on us, they are literally beggars in front of programmers because they can't verify our efficiency, they can't verify we didn't add a backdoor to "steal" data from the company etc. unless we snitch on each other. And in fact if you have this framework, you can see exactly why we have all these stupid industry standards, why languages that assume a stupid replaceable programmer are the top choice, why AI is shoved down programmers' throats, why there is a surprisingly huge propaganda machine that indoctrinates programmers into fairy tale magical "economics", etc., why the hiring crisis is blamed on programmers, not on backwards HR practices (that exist in order to torture us into submission when we do get a job, to assert that the dumb muscle elite is the authority). And it's important not to get an inflated ego, so as to not fall into a trap that defends the current system because of dumb logic like "I'm smart and have the power to make servers do stuff, therefore this beggar deserves starving to death because i know for certain he could not have been a senior dev for 20 years!" No, we're all fundamentally human, equal. And our bosses aren't especially brilliant in anything, yes they're dumber, but even they are equal to us TLDR; Lisp was made for humans, not for capitalism
āWeā in my case meant the company I work for, sorry.
And unfortunately, I know a lot of developers that donāt agree with your opinions. From time to time I see people defending LLMs, saying that āit codes better than most peopleā, that it āmakes less mistakesā and other stuff. I participate on a lot of programming groups, and one of them was very, very leaning to āagile methodologiesā, defenders of clean code (not the āRobert Martinā kind, but an actual readable, easy to understand, āreads-like-Englishā code) - this one is now making a big conference with 6 tracks, 4 of them being āAIā and one of these AI being āSoftware Factoriesā. Itās not just the bosses, unfortunately - I hate to admit that most people actually never liked the job in the first place, they were just for the money. They are quite happy to be working on āsomething elseā with the same money (how I see āagentic codingā nowadays) and are oblivious to the damages they are doing (not only to the job itself and code and quality, but also to this āoutsource our job to Anthropicā too)
> It is literally a tool of subordination and domination > Yes it has many parallels to how the east india company used opium.
I'm more convinced than ever that people claiming "LLMs write better code than I ever could" is both correct and says a lot more about the author than the LLM. Most people and practices in our field were never very good and lack the incentives to become so. Our industry is full of awful output. Automating the awfulness doesn't change that. I am hopeful there is enough high quality craft work left for those that want it. Maybe it doesn't pay as well as it used to. I'm fine with that. I got into this field for the craft and puzzle solving when it was considered a dead end and STEM people were fleeing for other careers. I was never in it just for the money or building as a means to an end. How I build is as important as what I build, and using LLMs for everything just feels bad. So I won't.
Personally, I felt the exact same way, until I sat down with someone who basically automated an entire company and his customers have never been happier (which is the only metric he cares about). I couldnāt find any code he couldnāt generate with an LLM using high-level instructions. Can you think of any code you know for sure you couldnāt write at a comparable quality using an LLM?
What customers are we talking about? I suspect weāre not talking about end users?
Itās an ERP system where customers build modules via a built-in agent, an agent sets up all the flows, and support is handled by an agent as well. Basically, they have a request and itās resolved in an hour. Not saying it isnāt a mess under the hood or that it wonāt bite him in the ass later, dunno š
> Can you think of any code you know for sure you couldnāt write at a comparable quality using an LLM? Code in the small? I think so, although the frontier labs' slurping up the entirety of open source means they can spit up plausible looking bits on demand. I've seldom seen it cough out anything that couldn't be improved though. Systems at scale? For sure. I've used LLMs and even worked on agentic workflows at scale (Datadog MCP). I think much quality-insensitive coding can be automated, but this means we will generate reams of complex code at unprecedented rates right up until system collapse. Everything about agentic coding ignores Fred Brooks on the fundamental nature of software, that it's a shared theory comprehended by people. LLM agents and the way they must be used to make the labs profitable actively thwarts shared theory building. Good news is there are still pockets where craft matters. Databases are one.
when your company became ai native https://www.instagram.com/reel/DgIGSGIxPVR