There are relatively few possible interpretations of what a snippet of C code could mean in assembly, according to the C spec. (yes yes I know)
Contrast that with “claude pls build $X, make no mistakes” which leaves an exponentially larger amount of detail unspecified and up to chance.
It’s really nothing like any other software abstraction, let alone a compiler. It’s more in the realm of messy analog human abstractions, such aa asking a friend, or hiring a consulting firm.
And evidently most around here don’t consider that “working at a higher level of abstraction.”
Yup, as is what most people are doing when they say they’re “directly involved in the design and architecture and data and planning.”
Compared with the relatively stable guarantees of compilers, there’s a large chance of AI making a horrible mess of things. Hence the need for all the spoon feeding in the first place.
A salt is a once-per-item value, whereas a pepper is a once-per-deployment/system value. So, if you have an authentication DB and you're using a hardware security module to hash a secret value along with each password, and store that hash in your DB, the secret value stored in your HSM is your pepper. You could also have per-entry salt values hashed in (salt and pepper aren't mutually exclusive). Of course, if you're really doing such a thing, use a memory-hard function designed for passwords.
> Each time something unexpected happens due to $X, the goal should not be to understand that particulars of that bug, it should be to mechanically eliminate the possibility of $X in that subsystem.
And how exactly do you expect to arrive at this structural solution for all problems of class $X, if not by studying and understanding the particulars of many instances?
> Time spent studying the structure of correct programs can yield valuable insights […]
Again, you might think so, just like how skimming a textbook feels productive. But you don’t learn how to prove things just by looking at correct proofs. You have to understand all the paths not taken and why, firsthand.
If you haven’t spent the time to deeply understand and form your own mental model about the system it’s documenting, you won’t notice all the inconsistencies, contradictions, omissions, overcomplication, etc. in the AI output.
Sure, but if I ask a human - let's assume a competent senior developer, but one who hasn't seen that code base before - to analyze and document, I'd bet their output will have more contradictions and overcomplications than the modern AI models.
If someone already has a good mental model (because they made the system or worked on it for a long time) then they would be better at it, but that's apples and oranges; when a company asks a human to document a system, the reasonably allocated time for such a task does not really allow to deeply understand that system.
What's important is the correctness of the document. AI models spending one hour is better than a human spending 5 hours, but worse than a human that has spent months is irrelevant. The time constraint is orthogonal to the correctness requirement.
> when a company asks a human to document a system, the reasonably allocated time for such a task does not really allow to deeply understand that system.
Then it's just a badly defined task. If resources are lacking, you redefine the task to fit the available resources. You do not do a bad job and pat yourself on the back for it.
This was certainly true a year ago, but it seems to be less and less true with every passing day. I've had Claude successfully complete a number of tasks like this which all held up to thorough vetting.
reply