Defensive design
Encyclopedia
Defensive design is the practice of planning for contingencies in the design
Design
Design as a noun informally refers to a plan or convention for the construction of an object or a system while “to design” refers to making this plan...

 stage of a project or undertaking. Essentially, it is the practice of anticipating all possible ways that an end-user could misuse a device, and designing the device so as to make such misuse impossible, or to minimise the negative consequences. For example, if it is important that a plug be inserted into a socket in a particular orientation, the socket and plug should be designed so that it is physically impossible to insert the plug incorrectly. Power sockets are often keyed in such a manner, to prevent the transposition of live and neutral.

Defensive design in software engineering
Software engineering
Software Engineering is the application of a systematic, disciplined, quantifiable approach to the development, operation, and maintenance of software, and the study of these approaches; that is, the application of engineering to software...

 is called defensive programming
Defensive programming
Defensive programming is a form of defensive design intended to ensure the continuing function of a piece of software in spite of unforeseeable usage of said software. The idea can be viewed as reducing or eliminating the prospect of Murphy's Law having effect...

. Murphy's law
Murphy's law
Murphy's law is an adage or epigram that is typically stated as: "Anything that can go wrong will go wrong". - History :The perceived perversity of the universe has long been a subject of comment, and precursors to the modern version of Murphy's law are not hard to find. Recent significant...

 is a well-known statement of the need for defensive design.

See also

  • Idiot Proof
    Idiot Proof
    In modern English usage, the term "idiot proof" describes designs which inherently or by use of defensive design principles cannot be misused. The implication is that the design is usable even by someone of low intelligence who would not use it properly. The term came into use in the late 1970s to...

  • Poka-yoke
    Poka-yoke
    ' is a Japanese term that means "fail-safing" or "mistake-proofing". A poka-yoke is any mechanism in a lean manufacturing process that helps an equipment operator avoid mistakes . Its purpose is to eliminate product defects by preventing, correcting, or drawing attention to human errors as they...

  • Defective by design
    Defective by Design
    Defective by Design is an anti-digital rights management initiative by the Free Software Foundation. DRM technology, dubbed "digital restrictions management" by opponents, restricts users’ ability to freely use their purchased movies, music, literature, software, and hardware in ways they are...

  • Usability testing
    Usability testing
    Usability testing is a technique used in user-centered interaction design to evaluate a product by testing it on users. This can be seen as an irreplaceable usability practice, since it gives direct input on how real users use the system...

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK