Ricerca di contatti, progetti,
corsi e pubblicazioni

Expressions in Java
essential, prevalent, neglected?

Informazioni aggiuntive

Autori
Chiodini L., Moreno Santos I., Hauswirth M.
Tipo
Contributo in atti di convegno
Anno
2022
Lingua
Inglese
Sommario
Expressions are the building blocks of formal languages such as lambda calculus as well as of programming languages that are closely modeled after it. Although expressions are also an important part of programs in languages like Java, that are not primarily functional, teaching practices typically don’t focus as much on expressions. We conduct both a theoretical analysis of the Java language, as well as an empirical analysis of the use of expressions in Java programs by novices, to understand the role expressions play in writing programs. We then proceed by systematically analyzing teaching materials for Java to characterize how they present expressions. Our findings show that expressions are an essential construct in Java, that they are prevalent in student code, but that current textbooks do not introduce expressions as the central, general, and compositional concept they are.
Parole chiave
Expressions, Java, Textbooks, Blackbox, Trees, Education, Abstract Syntax Tree, Grammar
Titolo atti di convegno
ACM SIGPLAN International Symposium on SPLASH-E
Nome convegno
SPLASH-E '22: 2022 ACM SIGPLAN International Symposium on SPLASH-E
Luogo convegno
Auckland New Zealand
Data convegno
December 1, 2022
Pagine (o numero dell’articolo)
41-51

Diffusione

Licenza
Diritti riservati
Visibilità
Pubblico
Status open access
Green