Convention over Configuration
Updated 2026-07-30
Summary
Convention over configuration (also known as coding by convention) is a software design paradigm used by software frameworks that attempts to decrease the number of decisions that a developer using the framework is required to make without necessarily losing flexibility and don't repeat yourself (DR…
Definition
When designing a system, reduce the number of decisions and configurations users need to make by presetting a set of reasonable 'default conventions'. Users only need to configure when they require non-standard behavior. Scaffold use: default value dividend. In management or product design, don't make users choose too much. Provide a set of best practices (conventions) that 'work perfectly without any choices'. Hide complexity in the exceptions of 'not following conventions'.
Introduction
How to use
Default value dividend. In management or product design, don't make users choose too much. Provide a set of best practices (conventions) that 'work perfectly without any choices'. Hide complexity in the exceptions of 'not following conventions'.
Mechanism
Preset reasonable defaults (conventions) to reduce user decision-making and configuration burden; only configure when non-standard behavior is needed. Hide complexity in exceptions, thereby reducing cognitive load and error probability, making 'zero-configuration usability' the default experience.
Practice
In progress 0/5Practice this model in one real situation:
Cases
- The Rails framework's conventional directory structure allows developers to get a project running with almost no configuration.
Common pitfalls
- Defaults that don't match reality lead to extensive overrides; rigid conventions stifle necessary flexibility; neglecting the discoverability of defaults.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Convention_over_configurationverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS