logoalt Hacker News

mjb • today at 12:41 AM • 0 replies • view on HN

> 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.