ComputingComputer EngineeringComputer ScienceContractsHardware-software Co-designSoftware EngineeringComponent-based Software EngineeringHardware ArchitectureHardware SpecificationSoftware ArchitectureSoftware DesignSpecification LanguagesAttributesComponent ContractsComponent InterfacesComponent SpecificationsComponent VerificationHardware-software Interface DesignSoftware ComponentsSoftware Interface Design
Software components lack the clear interfaces, formal specifications, and guarantees that hardware components provide, hindering the development of a robust software component industry. Programming by contract supplies formal specifications for software components, aiming to enable a true software component industry.
"Why can't software be more like hardware?" In particular, why isn't there a software components industry to rival the existing hardware components industry? Hardware components come with the following attributes: an interface that hides detail that would only confuse or at least distract me; an unambiguous interface specification written in a language I can understand (in the case of the integrated circuit, this may be a fairly complex language, but it's one I expect to learn if I'm going to work with that hardware); a guarantee-the component has been tested and/or validated against its specification. All three items-especially the last one-are notably lacking for software components. Indeed, software tends to come with an antiguarantee, otherwise known as a disclaimer. All of the above points rely on a rigorous specification of the hardware component's interface. In a nutshell, programming by contract is about providing just such specifications for software components (that is, classes), and it provides the best hope of a basis for a true software component industry. The discussion focuses on object oriented software.
2
Homological representations of the Hecke algebra
R. J. Lawrence · Communications in Mathematical Physics · 1990 · 169 citations
Deborah L. Goldsmith · The Michigan Mathematical Journal · 1981 · 95 citations