目录 / Concept Modeling Principles
Concept Modeling Principles
--- name: concept-model description: Guide new development and maintenance with concise concept principles. Use for state and behavior ownership, concept boundaries, or cross-concept collaboration; complements ub-mode. metadata: language: en translation_of: concept-model-cn version: 1.0.0 --- # Concept modeling principles Follow these principles when developing and maintaining software. ## Purpose - One concept, one clear purpose. - Fulfill the purpose with complete behavior. - Explain value through a representative history; define behavior through contracts. ## Independence - State belongs to its concept; rules stay with the state. - Concepts are independently understandable; they neither call one another nor read one another’s state. - Refer to external objects only by identity. ## Composition - Concepts define behavior; synchronizations define collaboration. - Make synchronization triggers, conditions, and actions explicit. - Composition may restrict behavior, but must preserve contracts. ## Implementation - Actions uphold preconditions, outcomes, and invariants. - Make the observable outcomes of failure, retries, and concurrency explicit. - Verify concept contracts and composition purposes separately. ## Maintenance - Determine responsibility before adding structure. - Preserve behavior when refactoring; make intentional changes explicit. - Limit changes to what is needed; retain clear code.
这是模型对公开材料的总结,不是官方声明,请以原链内容为准。
存档时间线
| 版本 | 存档时间 | 内容哈希 | 内容 |
|---|---|---|---|
| v1 | 2026-11-13 12:38 | a2b3ea08 | 可取 |
版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。
提交举报 / 纠错
侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。