X-MaP Paradigm Proposes Treating Spreadsheet Rows and Columns as Code Schema
A developer has proposed X-MaP (Cross-Mapped Programming), a language-agnostic design paradigm that formalises an existing technique of using spreadsheet-style tables as structured code. In X-MaP, the header row acts as a schema, each row represents an instance, each column functions as a lazy property, and each cell can hold a value, a function, or a predicate expression. A key principle is that row identifiers span multiple columns rather than a single ID field, enabling both machine-readable structural typing and human-readable traceability simultaneously. Cell access is unified through a single lookup function that accepts the table, identifier group, column key, and optional arguments. The article outlines seven core principles of the paradigm, deliberately leaving implementation details such as caching, cycle detection, and dependency resolution to individual developers.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in