← Graph

Context-Free Identifiers

concept 3 connections

Design principle of making every identifier carry enough qualification to be understood on its own — removing the need for surrounding context (type, nesting, documentation) to disambiguate. In Pathom/EQL this is achieved via namespaced keywords. Context-free identifiers unlock query flattening (since attributes no longer need to live under a parent scope to be meaningful) and enable cross-service integration by aliasing one service's id to another's (e.g. treating SpaceX's YouTube-ID field as the same thing as :youtube.video/id).

category
principle
about
Context-Free Identifiers concept
Design principle enabled by namespaced keywords.
concept Context-Free Identifiers
related_to
Flat queries become possible once identifiers are context-free.
related_to
Context-Free Identifiers concept
Namespaced keywords are how context-free identifiers are implemented in EDN.

Provenance

Read by
3 extractions