User Tools

Site Tools


principles:rule_of_explicitness

Rule of Explicitness (RoE)

Variants and Alternative Names

  • Explicit Is Better Than Implicit (EIBTI)1)

Context

Principle Statement

Explicit is better than implicit.

Description

Rationale

Strategies

Caveats

See section contrary principles.

Origin

  • First without being explicitly stated RoE has been a central design principle of the programming language Python2). Python dates back to 1991.
  • Later this philosophy was stated as part of the “Zen of Python”3)
  • The rule—although often not stated as such—is also known outside the python community4).
  • Extend and origin beyond that remains unclear.
  • The name “rule of explicitness” is newly introduced here.

Evidence

  • Accepted: Explained by Martin Fowler in 5) and in virtually every Python book.

Relations to Other Principles

Generalizations

Specializations

Contrary Principles

Complementary Principles

Principle Collections

Example

Description Status

Further Reading

1) , 3)
Tim Peters: The Zen of Python
2)
Guido van Rossum: Python's Design Philosophy
4) , 5)
Martin Fowler: To Be Explicit
principles/rule_of_explicitness.txt · Last modified: 2020-10-12 16:36 by 159.69.186.191