Source Code Without Implicitness: Explicit Source Prose For Programming Education

The meaning of source code is captured in the syntax of a programming language. To understand a particular code fragment one must thus know the mapping of the used syntactic constructs to their meaning. Novices often lack this knowledge. To make up for this, they often resort to guessing, which leads to misunderstandings in this mapping that may be hard to unlearn. In this paper we present a didactic tool called Explicit Source Prose: source code written in what we call an Explicit Syntax. An explicit syntax makes the precise semantics it represents explicit in structured natural language. We discuss different aspects of Explicit Source Prose: it does not explain purpose, it is localizable, explicitness is a spectrum, it can be generated automatically, and it reveals typos that alter a program’s meaning. We illustrate the concept of Explicit Source Prose with examples of source code and corresponding source prose. Preliminary results of a study with ten participants indicate that novices appreciate Explicit Source Prose and that they are able to more easily understand source code when an Explicit Source Prose version is available.

Authors

Institutions

Publication Details

Published
2025-08-30
DOI
https://doi.org/10.1145/3754508.3754510
Primary Topic
Teaching and Learning Programming
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Source Code Without Implicitness: Explicit Source Prose For Programming Education

Tom Schrijvers, Jesse Hoobergs
Teaching and Learning Programming
article

Source Code Without Implicitness: Explicit Source Prose For Programming Education

Tom Schrijvers, Jesse Hoobergs
article en

Abstract

The meaning of source code is captured in the syntax of a programming language. To understand a particular code fragment one must thus know the mapping of the used syntactic constructs to their meaning. Novices often lack this knowledge. To make up for this, they often resort to guessing, which leads to misunderstandings in this mapping that may be hard to unlearn. In this paper we present a didactic tool called Explicit Source Prose: source code written in what we call an Explicit Syntax. An explicit syntax makes the precise semantics it represents explicit in structured natural language. We discuss different aspects of Explicit Source Prose: it does not explain purpose, it is localizable, explicitness is a spectrum, it can be generated automatically, and it reveals typos that alter a program’s meaning. We illustrate the concept of Explicit Source Prose with examples of source code and corresponding source prose. Preliminary results of a study with ten participants indicate that novices appreciate Explicit Source Prose and that they are able to more easily understand source code when an Explicit Source Prose version is available.

KU Leuven (BE)
Quality Education
Openalex Percentile: Top 74%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.