122 points · by michaelsbradley · 2w ago · 46 comments
It is simply not feasible for humans to keep the entirety of large projects in their heads all at once. When working on a project, one is constantly forgetting and relearning code along the way. The situation is even worse for projects where multiple people work together and no one knows what everyone else was thinking. We look at the code and try to build up sufficient context in our heads to make the necessary changes. When we misjudge that context or misunderstand existing code, we end up making mistakes.
It's a made up excuse because no one has ever tried doing that. Instead the core activity of software engineering (and engineering in general) is to break down things into modular components, ensure that they work well, produce specs, then assemble the result. Which is why no one read the source code for open(2) system call before using it. Instead they read the manpage and only when there's an issue there's a need to compare the specs with the implementation.So it's a matter of communication between humans. If person A is responsible for module 1 and person B's module 2 depends on the former. It's up to A to provide a proper spec to B. It's not up to B to learn everything about module 1's implementation and doing so is kinda foolish.
So something like
Any new code that is added is therefore always done with limited understanding.
Is a red flag. The codebase and workflow should be that new additions should deal with a limited context (as in one PR shouldn't touch unrelated things) at at time and the contributors should be able to come with a full understanding of what they are doing. If they cannot, it's either a failure of the codebase, the docs, the workflows, or the contributors.Meanwhile, anybody who's maintained a large scale software project knows that even with the best practices, problems can still be introduced into the codebase. Nobody is arguing against limiting context or doing as much as possible to ensure the contribution is doing the right thing. Yet, the idea that you can have full understanding of how the feature will interact with every edge case is frankly laughable.
The notion that you can architect a perfect codebase where context and scope of the effect of any change is always completely clear is idealistic in the extreme. Of course, we should strive to keep the code quality as high as possible, nobody is arguing against that. The reality is that large projects are complex, and nobody has come up with a way to write code in the way where it's possible to perfectly control the scope of the effects of any one change. Every single large scale project out there has bugs, and regressions no matter how much the authors strive to make it perfect.
That's not what I'm saying. What I'm saying is that the contributor should make a reasonable attempt at producing a bug free patch. And it's up to the project's leaders to make it easy to do so. And one of the easiest way for the latter to do so is producing design docs and isolating modules as much as possible so that it's efficient to get the needed understanding.
So both parties each have its own responsibilities into making quality contributions happen. I'm not against LLM usage. What I'm against is making the project difficult for human understanding because human understanding is limited or whatever. That's why I point out the README and the Makefile.
I also strive to have a clean and modular codebase, including building tools specifically aimed at helping ensure code quality in addition to manual reviews https://github.com/jlt-commons/jolt-metrics
So, if you'd like to point out specific gaps in documentation or problems in the code architecture, then feel free to share them and we can discuss that.
> What I'm against is making the project difficult for human understanding because human understanding is limited or whatever.
I'm against that as well, so not sure what your point of contention is really. The README simply points out that there are limits to what we can reasonably understand, and that the mitigation for that lies in the process such as having good specifications, benchmarks, regression tests, and so on.
Again, if you can point to specific aspects of the project that you claim make it difficult for humans to understand, then please be specific regarding what they are instead of making vague accusations. Also, it's quite interesting that you chose to take a few bits out of context while ignoring the following which is directly relevant to the accusations you are levelling here:
> The core skill in using these tools is the same as the skill needed when writing code manually. One has to understand the given requirement, the shape of the solution, and how to verify that the code produced actually matches the intent.
> What these tools do is automate the mechanical aspect of producing the code. Once it is written, you can read it, understand it, and change it as you would with any other code. The intention and the ideas come from the human using the tool, and new ways to automate the work of typing out code do not change the role or the responsibility of the developer.
> Focusing on how the code was produced rather than on the code itself dilutes the responsibility since blame should never be deflected to LLMs. The ownership of the code rests with the person submitting the code, and they must take responsibility for its quality and correctness. Either the code is clean and lives up to the standards of the project, or it will be rejected and the author will be asked to make changes to address the problems.
Can you point to where in your mind I'm suggesting that developers shouldn't try to ensure code quality or understanding?
Personal attacks for someone pointing out some issues with the LLM apologetics. Nice.
disclaimer: 27 year professional in this field and I mostly agree with OP.
Also, I have no idea what any of this has to do with LLMs. Nothing discussed here was LLM related in any way. Nor am I doing any apologetics for anything here. I'm stating basic facts that anybody with even a modicum of intellectual integrity would acknowledge.
But if you have any actual counterpoints to what I said then feel free to share them.
Some software is governed by a specification or protocol, a lot is not. Hell, a few popular languages are without any formal specification. Not everything is like POSIX.
You are free to disagree, you are free to not use, but I don't see a reason to be dunking the author in the head for making a labour of love available just because you disagree with their process/programming language/<other thing>.
It comes off as attempting to coerce people to come around to your view. Just don't use it, trust that the rest of us are sufficiently grown-up to independently determine if using the project is in our best interests - we don't need your protection.
I believe what you're trying to say there, with "drop in replacement", is that jolt emulates common Java interop forms in Clojure JVM such that code written for Clojure JVM doesn't need to be ported to run on jolt. This a compelling feature which other dialects are tackling as well.
What I would mention as a key difference between jank and jolt, aside from the C++ story and native project management story, is that jolt is very much AI coded and jank is not. jolt doesn't disclose this on its website or Github readme, but it's something which clearly matters to a lot of people.
Jeaye, you’ve been doing amazing work on jank over the years, please keep going!
I've been occasionally checking up on jank for a few years now, and thanks for resisting the temptation to go slop and doing things the proper way.
Jolt aims to faithfully implement the totality of features that current JVM Clojure implements along with shim for Java surface to facilitate existing code to run.
Meanwhile, I don't see the tooling used to develop the language as the key difference in the language itself. I understand this is important for some people, and that's fine. However, that has little to do with the language itself , its features, or its overall functionality. So, for me personally, that is not an interesting distinction. What matters to me is what I can use the language for, and what code it is able to run.
This is the cool part. Now, i understand many Clojure libraries depend on Java libraries, so let's see how this works out for real world projects. But still, I think it's a great idea, and it's exciting. Well done, Yogthos!
On the other hand, regarding the "speaks to C", Common Lisp has had very easy interfacing to C for decades, i'm surprised this wasn't solved on the Clojure community already (!)