Code is much more efficient to read than English. Unless we want to leave understanding to the LLM, it’s simply more efficient to read the code than read the markdown.
> Precise properties like “a SELECT never shows results from uncommitted transactions”
I never really understood a relational database until I wrote one. I still don’t, but I now understand a lot more than I did.
> Code is much more efficient to read than English.
There are two definitions of the word "efficient" and it's not totally clear which one you meant.
One meaning is it takes less time. The other is that it expresses the most with the least waste compared to english.
It's definitely true that code is way more compactly expressive than english- it efficiently expresses what instruction the computer needs to do.
It's not clear at all if it takes less time to understand and write than english. In fact, the expressiveness of code is what makes it hard to understand sometimes.
If AI is a tool that takes 10 sentences/line to write and explain 1 line of code, that seems fine to me.
> Code is much more efficient to read than English
I think this is true "in the small", but unless the code is uncommonly well structured isn't generally true as code bases get larger. For example, if you started reading the Postgres or MySQL code, it would take a great deal of reading and understanding to get to where you understood where and when this property applies.
If I just wanted to state the property crisply, using some kind of formalism could help. But in non-trivial systems code doesn't appear to be a crisp statement of many of its properties (in general, some languages and domains get closer than others).
I also learned a great deal writing a relational database (and then helping build parts of two really big ones), and a great deal from reading others code in this domain. But the code tends to be very low 'density' when seen as a mapping from implementation to customer-desirable properties.