interface-contract coding
nounUK /ˈɪntəfeɪs ˈkɒntrækt ˈkəʊdɪŋ/
US /ˈɪntərfeɪs ˈkɑːntrækt ˈkoʊdɪŋ/
Interface-contract coding is a way of writing computer programs where two parts agree on exactly how they will talk to each other.
The team used interface-contract coding so the app and the server always understood each other.
SYNONYMS
OTHER MEANINGS
2. Writing code that follows a written agreement about inputs and outputs.
With interface-contract coding, every function must match the agreed contract.
3. A style of programming where teams define shared rules before building software.
Interface-contract coding helped the two teams work separately without breaking things.
4. Using clear promises between software parts so changes stay safe.
Interface-contract coding made it easy to swap one module for another.