Title
Teachers’ Beliefs and Practices on the Naming of Variables in Introductory Python Programming Courses
Author
van der Werf, V. (TU Delft Web Information Systems; Universiteit Leiden)
Swidan, A.A.S. (TU Delft Software Engineering; Open University of the Netherlands) ![ORCID 0000-0001-9236-858X ORCID 0000-0001-9236-858X](/sites/all/themes/tud_repo3/img/icons/orcid_16x16.png)
Hermans, F.F.J. (TU Delft Software Engineering; Vrije Universiteit Amsterdam)
Specht, M.M. (TU Delft Web Information Systems) ![ORCID 0000-0002-6086-8480 ORCID 0000-0002-6086-8480](/sites/all/themes/tud_repo3/img/icons/orcid_16x16.png)
Aivaloglou, E.A. (TU Delft Web Information Systems) ![ORCID 0000-0002-6531-2166 ORCID 0000-0002-6531-2166](/sites/all/themes/tud_repo3/img/icons/orcid_16x16.png)
Date
2024
Abstract
Motivation. Variable naming practices are part of the software developer’s profession, influencing program comprehension and code quality. Yet, little is known about how variable naming practices are taught in beginner courses. Objective. This paper investigates naming beliefs, self-reported teaching practices, and observations regarding variable naming practices of teachers of introductory Python programming courses. Methods. We adopted an in-depth qualitative approach by interviewing ten teachers from secondary education and higher education and developed several themes in order to answer our research questions. Results. Among various opinions and practices, we found that teachers agree on using meaningful names, but have conflicting beliefs about what is meaningful. Moreover, the described teaching practices do not always match teacher’s views on meaningful names, and teachers rarely encourage students to use them. Instead, they express that naming practices should not be enforced and that students will develop them by example. Whereas some teachers report focusing solely on conventions, others deliberately dedicate time for students to engage with naming, create their own guidelines, provide continuous feedback, or include naming exercises on exams. Discussion. Naming practices do not seem to be deliberately taught, even though they influence program understanding and code quality. We also identified inconsistencies in teachers’ self-reported naming practices. As such, we encourage intentional conversations about naming practices in educational settings, specifically linking naming to code quality and readability. We see room for group and peer activities as a means to this end, as well as providing formative feedback dedicated to naming.
Subject
novices
programming education
teachers
Variable naming
To reference this document use:
http://resolver.tudelft.nl/uuid:b3df467e-c3f4-4981-853a-416b7a14242f
DOI
https://doi.org/10.1145/3639474.3640069
Publisher
IEEE
ISBN
9798400704987
Source
Proceedings - 2024 ACM/IEEE 46th International Conference on Software Engineering: Software Engineering Education and Training, ICSE-SEET 2024
Event
46th International Conference on Software Engineering: Software Engineering Education and Training, ICSE-SEET 2024, 2024-04-14 → 2024-04-20, Lisbon, Portugal
Series
Proceedings - International Conference on Software Engineering, 0270-5257
Part of collection
Institutional Repository
Document type
conference paper
Rights
© 2024 V. van der Werf, A.A.S. Swidan, F.F.J. Hermans, M.M. Specht, E.A. Aivaloglou