The first two laws of Software Engineering

From a guy at work:

The readability of generated code is inversely proportional to the readability of the code which generated it.

The first law of software engineering (and until I heard the one above the only one I thought existed) is:

((U+C+I) x (10-S))/20 x A x 1/(1-sin(F/10))

(See also http://www.news.com.au/common/printpage/0,6093,11009375,00.html
for an expanded explaination of that formula..)

Seriously, though – is it better to have readable generated code or readable generation code?

Leave a Reply

Your email address will not be published. Required fields are marked *