Universität Potsdam
Babylonian programming: Examples for general immediate access to dynamic information
Abstract
dc:description.abstractProgram comprehension is central to software development. To understand program behavior, programmers need dynamic information whenever static information is not sufficient. However, acquiring this dynamic information is demanding, as programmers have to take several manual steps, yielding large temporal, spatial, and semantic distances between the examined program part and related dynamic information. The resulting effort might discourage programmers from accessing dynamic information even when it would be useful. Thus, we argue that programmers would benefit from immediate access to dynamic information with short distances. In this thesis, we examine how we can enable immediate access to dynamic information, for various kinds of dynamic information and programs of all kinds and sizes. We introduce the notion of example-based live programming (ELP), a form of live programming based on explicitly defined, executable examples, and discuss its potential to support general immediate access to dynamic information. Existing approaches do not fully realize this potential yet, as they reduce only a single distance or apply to a specific kind of dynamic information and a specific kind or size of program. We demonstrate how the potential for general immediate access to dynamic information can be fulfilled by Babylonian Programming (BP), an ELP approach that achieves general immediate access through a generalized form of (1) examples, (2) probes agnostic to the displayed information and program elements, and (3) an integration of trace information into the code editor. We demonstrate BP's feasibility in three different contexts: self-sustaining environments, web browsers, and environments based on the Language Server Protocol. In a qualitative user study on how programmers leverage BP features, we have observed that BP effectively shortens all three distances and that programmers found immediate access to dynamic information useful. Through micro and macro benchmarks, we have found that the small scope of examples and the selective instrumentation of probes keep the temporal distance short. We argue that BP confirms that examples and ELP have the potential to make dynamic information conveniently available through immediate access. Consequently, programmers can use dynamic information when it is useful to understand their programs faster and in greater depth.
Degree
thesis:*- Level thesis:degree_level
- thesis.doctoral
- Grantor dc:publisher
- Universität Potsdam
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Rein, Patrick
- Advisor dc:contributor.advisor
-
- Hirschfeld, Robert
- Person Identifier Gnd person:identifier.gnd
-
- 120012162
- ORCID person:identifier.orcid
Subjects
dc:subject × 10Rights
dc:rights.accessrights- Statement dc:rights.accessrights
-
- free
- CC-BY - Namensnennung 4.0 International
- Language dc:language.dcterms_iso639_2
- eng