{
  "code": null,
  "collection": "tension",
  "href": "https://banes-lab.com/ontology/schema#tension-composite-pattern-type-safety",
  "id": "composite-pattern-type-safety",
  "kind": "tension",
  "layer": null,
  "name": "Composite Pattern / Type Safety",
  "ref": "tension:composite-pattern-type-safety",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-composite-pattern",
          "json": "https://banes-lab.com/json/records/architecture/composite-pattern",
          "label": "Composite Pattern",
          "markdown": "https://banes-lab.com/records/architecture/composite-pattern.md",
          "ref": "architecture:composite-pattern"
        },
        {
          "href": "https://banes-lab.com/ontology#architecture-type-safety",
          "json": "https://banes-lab.com/json/records/architecture/type-safety",
          "label": "Type Safety",
          "markdown": "https://banes-lab.com/records/architecture/type-safety.md",
          "ref": "architecture:type-safety"
        }
      ],
      "relation": "tensions-with"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology/schema#vocabulary-resolution-mechanism-irreducible-tradeoff",
          "json": "https://banes-lab.com/json/records/vocabulary/resolution-mechanism-irreducible-tradeoff",
          "label": "irreducible-tradeoff",
          "markdown": "https://banes-lab.com/records/vocabulary/resolution-mechanism-irreducible-tradeoff.md",
          "ref": "vocabulary:resolution-mechanism-irreducible-tradeoff"
        }
      ],
      "relation": "mechanism"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/ontology#architecture-category-structural-patterns",
          "json": "https://banes-lab.com/json/ontology/principles/architecture-category-structural-patterns",
          "label": "Structural Patterns",
          "markdown": "https://banes-lab.com/ontology/principles/architecture-category-structural-patterns.md",
          "ref": "chapter:/ontology#architecture-category-structural-patterns"
        },
        {
          "href": "https://banes-lab.com/ontology/schema#the-vocabulary-resolution-mechanism",
          "json": "https://banes-lab.com/json/ontology/schema/the-vocabulary-resolution-mechanism",
          "label": "Resolution mechanisms",
          "markdown": "https://banes-lab.com/ontology/schema/the-vocabulary-resolution-mechanism.md",
          "ref": "chapter:/ontology/schema#the-vocabulary-resolution-mechanism"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "summary": "\"composite-pattern\" (design-patterns-core layer) is traded against \"Type Safety\" (contracts-core layer) — a principle cannot be scope-separated from a quality, metric, or cost it competes with; resolve by measuring \"Type Safety\" and choosing an explicit operating point.",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/ontology/schema#tension-complexity-flyweight-pattern",
      "json": "https://banes-lab.com/json/records/tension/complexity-flyweight-pattern",
      "label": "Flyweight Pattern / Complexity",
      "markdown": "https://banes-lab.com/records/tension/complexity-flyweight-pattern.md",
      "ref": "tension:complexity-flyweight-pattern"
    },
    "previous": {
      "href": "https://banes-lab.com/ontology/schema#tension-decorator-pattern-stack-debugging",
      "json": "https://banes-lab.com/json/records/tension/decorator-pattern-stack-debugging",
      "label": "Decorator Pattern / Stack Debugging",
      "markdown": "https://banes-lab.com/records/tension/decorator-pattern-stack-debugging.md",
      "ref": "tension:decorator-pattern-stack-debugging"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/records/tension",
    "label": "Tensions",
    "markdown": "https://banes-lab.com/api/records/tension.md",
    "ref": "api:records/tension"
  }
}
