2 ms·
Look up "design by contract" for more background on these. I really hope this will be the next mainstream thing in programming language design, after the curre
by int_19h 8y ago
Look up "design by contract" for more background on these.
I really hope this will be the next mainstream thing in programming language design, after the current functional wave. Even without fully perfected static analysis tools, just the dynamic checks alone are well worth the trouble of writing good contracts, IMO. They also make for better, more precise documentation.
- nemlog 8y agoDesign by Contract (DbC) was seamlessly embedded into the Eiffel Language and Method right from the start, way back in 1986. The ideas gained by using Eiffel and Design by Contract can be formative and help us in our approach to using other languages. The foundational ideas around DbC and Eiffel for requirements and their proof still evolve and progress 33 years later with AutoReq. A paper describing AutoReq was recently published .. AutoReq: Expressing and verifying requirements for control systems https://www.sciencedirect.com/science/article/pii/S1045926X18301514?dgcid=author https://www.sciencedirect.com/science/article/pii/S1045926X1...