Hoare Property

From HaskellWiki
Revision as of 13:37, 18 April 2011 by Ksf (talk | contribs) (New page: The Hoare Property is a code metric based upon a quote by [http://en.wikipedia.org/wiki/Tony_Hoare Tony Hoare]: There are two ways to write code: write code so simple there are obviously ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Hoare Property is a code metric based upon a quote by Tony Hoare:

There are two ways to write code: write code so simple there are obviously no bugs in it, or write code so complex that there are no obvious bugs in it.

Code adhering to the former is said to have the Hoare property, code adhering to the latter could be considered to be a case of Vogonism.