What You See Is What It Does: A Structural Pattern for Legible Software

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Meng, Eagon, Jackson, Daniel
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916922651574272
author Meng, Eagon
Jackson, Daniel
author_facet Meng, Eagon
Jackson, Daniel
contents The opportunities offered by LLM coders (and their current limitations) demand a reevaluation of how software is structured. Software today is often "illegible" - lacking a direct correspondence between code and observed behavior - and insufficiently modular, leading to a failure of three key requirements of robust coding: incrementality (the ability to deliver small increments by making localized changes), integrity (avoiding breaking prior increments) and transparency (making clear what has changed at build time, and what actions have happened at runtime). A new structural pattern offers improved legibility and modularity. Its elements are concepts and synchronizations: fully independent services and event-based rules that mediate between them. A domain-specific language for synchronizations allows behavioral features to be expressed in a granular and declarative way (and thus readily generated by an LLM). A case study of the RealWorld benchmark is used to illustrate and evaluate the approach.
format Preprint
id arxiv_https___arxiv_org_abs_2508_14511
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle What You See Is What It Does: A Structural Pattern for Legible Software
Meng, Eagon
Jackson, Daniel
Software Engineering
D.2.11
The opportunities offered by LLM coders (and their current limitations) demand a reevaluation of how software is structured. Software today is often "illegible" - lacking a direct correspondence between code and observed behavior - and insufficiently modular, leading to a failure of three key requirements of robust coding: incrementality (the ability to deliver small increments by making localized changes), integrity (avoiding breaking prior increments) and transparency (making clear what has changed at build time, and what actions have happened at runtime). A new structural pattern offers improved legibility and modularity. Its elements are concepts and synchronizations: fully independent services and event-based rules that mediate between them. A domain-specific language for synchronizations allows behavioral features to be expressed in a granular and declarative way (and thus readily generated by an LLM). A case study of the RealWorld benchmark is used to illustrate and evaluate the approach.
title What You See Is What It Does: A Structural Pattern for Legible Software
topic Software Engineering
D.2.11
url https://arxiv.org/abs/2508.14511