Design by Contract: Building Robust Software with Contract-First Development
summary
Explains Design by Contract and Contract-First Development as a way to define explicit requirements and constraints to prevent errors and improve collaboration. Covers applying these principles to build more robust Python applications and APIs by specifying contracts up front as a best-practice.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:05What is Design by Contract
- 3:32Practical contract example
- 6:19Pros and cons of contracts
- 9:47Benefits of design by contract
- 11:18What is Contract First Development
- 13:47Contract First benefits
- 15:38Full-stack dashboard case study
- 19:31JSON converter tool case study
- 24:49Final solution and conclusions
- 26:37Q&A
related talks
01h 17mFunction Contracts in Practice using C++
01h 03m“Contract Programming in C++(20) (part 1 of 2)”
56mContracts for Dependable C++
20mSoftware design
57mCore Software Design Principles for Programmers
58mAvoid Misuse of Contracts!
01h 32mMistakes to Avoid When Writing C++ Projects
01h 18mProper Inheritance
