Difference between revisions of "Hoare Property"

From HaskellWiki
Jump to: navigation, search
(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 ...)
 
(No difference)

Latest revision as of 13:37, 18 April 2011

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.