Encyclopedia > Precondition

  Article Content

Precondition

A precondition is a fact that must always be true just prior to the execution of some section of code. Preconditions are sometimes tested using assertions within the code itself. Often, preconditions are simply included in the documentation of the affected section of code.

Related: Design by contract, Postcondition



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
East Marion, New York

... There are 744 housing units at an average density of 136.8/km² (354.8/mi²). The racial makeup of the town is 95.24% White, 0.93% African American, 0.13% ...

 
 
 
This page was created in 31.7 ms