Novice Reflections During the Transition to a New Programming Language
Open accessThe DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
As computing students progress through their studies they become proficient with multiple programming languages. Prior work investigating language transitions for novices has tended to analyze program artifacts rather than explore the benefits and difficulties as perceived by students in their own words, and has often overlooked problems that may arise in switching paradigms or where familiar syntax has a different meaning in the new language. In this paper, we ask students to reflect on the transition from an interpreted language and environment (MATLAB) to a compiled language (C), prompting comments on the aspects of learning the new language that they found both easier and harder. Analysis of over 70,000 words written by 771 students revealed that the highest-performing students expressed more negative sentiments towards the language transition -- a surprising result that we hypothesize is explained by their generally stronger metacognitive skills. We also report the most common difficulties described by students, which include challenges with syntax, error messages, and the process of compilation, and suggest teaching practices that might help students as they transition to a new programming language.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The Stanford CoreNLP Natural Language Processing Toolkit
Manning, C., Surdeanu, M., Bauer, J., Finkel, J., Bethard, S., & McClosky, D. (2014) · Proceedings of 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations · doi:10.3115/v1/p14-5010 · Cited by 7,037 · cited 1×
“To measure the sentiment of the students’ reflections, we used a deep learning model for sentiment analysis that is provided as part of the Stanford CoreNLP natural language processing library [26].”
MethodThe Explanatory and Predictive Scope of Self-Efficacy Theory
Bandura, A. (1986) · Journal of Social and Clinical Psychology · doi:10.1521/jscp.1986.4.3.359 · Cited by 3,776 · cited 1×
“Winne & Hadwin’s model is useful here because it splits Ban-dura’s [3] forethought phase into two parts: task definition and goal setting/planning [43].”
MethodConfusion can be beneficial for learning
D’Mello, S., Lehman, B., Pekrun, R., & Graesser, A. (2014) · Learning and Instruction · doi:10.1016/j.learninstruc.2012.05.003 · Cited by 777 · cited 1×
“Conversely, difficulties that are not resolved may negatively impact learning [11].”
BackgroundDebugging: a review of the literature from an educational perspective
McCauley, R., Fitzgerald, S., Lewandowski, G., Murphy, L., Simon, B., Thomas, L., & Zander, C. (2008) · Computer Science Education · doi:10.1080/08993400802114581 · Cited by 267 · cited 1×
“An example is C’s 0-based indexing, which differs from MATLAB’s 1-based indexing, and is known to contribute to the high frequency of off-by-one errors encountered by novices in introductory courses [27, 33].”
MethodFrom Scratch to “Real” Programming
Armoni, M., Meerbaum-Salant, O., & Ben-Ari, M. (2015) · ACM Transactions on Computing Education · doi:10.1145/2677087 · Cited by 266
Lishinski, A., Yadav, A., Good, J., & Enbody, R. (2016) · Proceedings of the 2016 ACM Conference on International Computing Education Research · doi:10.1145/2960310.2960329 · Cited by 199 · cited 1×
“Understanding how students perceive learning new languages is important, given the strong connections between emotion, self-efficacy and performance [15, 20, 25].”
BackgroundBecker, B. A., Denny, P., Pettit, R., Bouchard, D., Bouvier, D. J., Harrington, B., Kamil, A., Karkare, A., McDonald, C., Osera, P.-M., et al. (2019) · Proceedings of the Working Group Reports on Innovation and Technology in Computer Science Education · doi:10.1145/3344429.3372508 · Cited by 199 · cited 1×
“Again, there is much prior literature documenting the challenges faced by novices in understanding compiler error messages [4].”
BackgroundSelf-citationWhat Do We Think We Think We Are Doing? Metacognition and Self-Regulation in Programming
Prather, J. E., Becker, B. A., Craig, M., Denny, P. C., Loksa, D., & Margulieux, L. E. (2020) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3372782.3406263 · Cited by 182 · cited 2×
“Recent work has shown an increased interest in utilizing metacognitive theory in computing education [32].”
BackgroundSelf-citationWeintrop, D., & Wilensky, U. J. (2019) · Computers & Education · doi:10.1016/j.compedu.2019.103646 · Cited by 166 · cited 1×
“Weintrop and Wilensky found no automatic benefit in starting with a block-based language and then transitioning to a text-based one [42].”
BackgroundFrame-Based Editing: Easing the Transition from Blocks to Text-Based Programming
Kölling, M., Brown, N. C. C., & Altadmri, A. (2015) · Proceedings of the Workshop in Primary and Secondary Computing Education · doi:10.1145/2818314.2818331 · Cited by 153 · cited 1×
“Still others have shared their tools without empirical evidence, but report student experiences were positive [21, 22], or had inconclusive results [7].”
BackgroundMy program is ok – am I? Computing freshmen's experiences of doing programming assignments
Kinnunen, P., & Simon, B. (2012) · Computer Science Education · doi:10.1080/08993408.2012.655091 · Cited by 148 · cited 1×
“Understanding how students perceive learning new languages is important, given the strong connections between emotion, self-efficacy and performance [15, 20, 25].”
BackgroundUnderstanding the syntax barrier for novices
Denny, P., Luxton-Reilly, A., Tempero, E., & Hendrickx, J. (2011) · Proceedings of the 16th annual joint conference on Innovation and technology in computer science education · doi:10.1145/1999747.1999807 · Cited by 133 · cited 1×
“…semicolons at the end of every line, as well as some of the other little things that need to be added” Difficulty with syntax is a widely known challenge for novice programmers [1, 9, 34], and we find evidence here that it remains a major hurdle for students when learning a subsequent language.”
BackgroundSelf-citationAn empirical study on the impact of static typing on software maintainability
Hanenberg, S., Kleinschmager, S., Robbes, R., Tanter, É., & Stefik, A. (2013) · Empirical Software Engineering · doi:10.1007/s10664-013-9289-1 · Cited by 116 · cited 1×
“For larger software systems, there is compelling empirical evidence that static type checking improves maintainability and debugging time [16].”
BackgroundMediated transfer: Alice 3 to Java
Dann, W., Cosgrove, D., Slater, D., Culyba, D., & Cooper, S. (2012) · Proceedings of the 43rd ACM technical symposium on Computer Science Education · doi:10.1145/2157136.2157180 · Cited by 111 · cited 1×
“Most studies to date have not been deeply theoretically motivated and those that have focus on theories such as mediated learning [8].”
BackgroundLearning second and subsequent programming languages: A problem of transfer
Scholtz, J. C., & Wiedenbeck, S. (1990) · International Journal of Human-Computer Interaction · doi:10.1080/10447319009525970 · Cited by 93 · cited 1×
“By 1990, it was well known that both novices and seasoned professionals can struggle with the transfer of knowledge from one language to another [35, 36].”
BackgroundThrough the looking glass: teaching CS0 with Alice
Powers, K., Ecott, S., & Hirshfield, L. M. (2007) · ACM SIGCSE Bulletin · doi:10.1145/1227504.1227386 · Cited by 91
Transitioning from Block-Based to Text-Based Programming Languages
Moors, L., Luxton-Reilly, A., & Denny, P. C. (2018) · International Conference on Learning and Teaching in Computing and Engineering (LaTICE) · doi:10.1109/latice.2018.000-5 · Cited by 77 · cited 2×
“discuss their significant weaknesses as a way of transitioning into text-based languages, such as their focus on animation and multimedia that is typically lacking in their text-based counterparts [28].”
BackgroundSelf-citationHere we go again: why is it difficult for developers to learn another programming language?
Shrestha, N., Botta, C., Barik, T., & Parnin, C. (2020) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3377811.3380352 · Cited by 72 · cited 2×
“Even within the same paradigm, programmers make failed attempts to relate a new language with what they already know, mixing up syntax and concepts [37].”
BackgroundHundhausen, C. D., Farley, S. F., & Brown, J. L. (2009) · ACM Transactions on Computer-Human Interaction · doi:10.1145/1592440.1592442 · Cited by 55 · cited 1×
“found a positive transfer effect with their tool, ALVIS Live, in which users fill in dialog boxes and directly manipulate program data [19].”
MethodError Message Readability and Novice Debugging Performance
Denny, P., Prather, J., & Becker, B. A. (2020) · Proceedings of the 2020 ACM Conference on Innovation and Technology in Computer Science Education · doi:10.1145/3341525.3387384 · Cited by 50 · cited 1×
“Such approaches to error message enhancement have proven effective in practice [10].”
BackgroundSelf-citationEdwards, J., Ditton, J., Trninić, D., Swanson, H., Sullivan, S., & Mano, C. D. (2020) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3372782.3406259 · Cited by 49 · cited 1×
“For example, Edwards et al. found that over a period of five weeks, as little as 25 minutes per week of syntax practice resulted in higher exam scores and lower course attrition rates [12].”
BackgroundEngagement in Computer Science and IT -- What! A Matter of Identity?
Peters, A.-K., & Pears, A. (2013) · International Conference on Learning and Teaching in Computing and Engineering (LaTICE) · doi:10.1109/latice.2013.42 · Cited by 43 · cited 1×
“growing identity as computing professionals [30].”
Student affect in CS1: insights from an easy data collection tool
Haden, P., Parsons, D., Wood, K., & Gasson, J. (2017) · Koli Calling International Conference on Computing Education Research · doi:10.1145/3141880.3141881 · Cited by 42 · cited 1×
“Understanding how students perceive learning new languages is important, given the strong connections between emotion, self-efficacy and performance [15, 20, 25].”
BackgroundUnderstanding Conceptual Transfer for Students Learning New Programming Languages
Tshukudu, E., & Cutts, Q. I. (2020) · ACM Conference on International Computing Education Research (ICER) · doi:10.1145/3372782.3406270 · Cited by 41 · cited 3×
“When two languages use the same syntax for a particular concept, but have different semantics, this can interfere with learning [39].”
BackgroundExploring the Applicability of Simple Syntax Writing Practice for Learning Programming
Leinonen, A., Nygren, H., Pirttinen, N., Hellas, A., & Leinonen, J. (2019) · Proceedings of the 50th ACM Technical Symposium on Computer Science Education · doi:10.1145/3287324.3287378 · Cited by 27 · cited 1×
“Deliberate practice of syntax may therefore be beneficial for some students, and has been the focus of recent work [24].”
BackgroundStudents’ Verbalized Metacognition During Computerized Learning
Bosch, N., Zhang, Y., Paquette, L., Baker, R. S., Ocumpaugh, J. L., & Biswas, G. (2021) · CHI Conference on Human Factors in Computing Systems · doi:10.1145/3411764.3445809 · Cited by 27
Self-citationMediated transfer from visual to high-level programming language
Krpan, D., Mladenović, S., & Zaharija, G. (2017) · International Convention on Information and Communication Technology, Electronics and Microelectronics · doi:10.23919/mipro.2017.7973531 · Cited by 27 · cited 1×
“Still others have shared their tools without empirical evidence, but report student experiences were positive [21, 22], or had inconclusive results [7].”
BackgroundLearning programming, syntax errors and institution-specific factors
Ahadi, A., Lister, R., Lal, S., & Hellas, A. (2018) · Australasian Computing Education Conference · doi:10.1145/3160489.3160490 · Cited by 24 · cited 1×
“…semicolons at the end of every line, as well as some of the other little things that need to be added” Difficulty with syntax is a widely known challenge for novice programmers [1, 9, 34], and we find evidence here that it remains a major hurdle for students when learning a subsequent language.”
BackgroundJourneys up the mountain: Different paths to learning object-oriented programming
Nelson, H. J., Irwin, G. M., & Monarchi, D. E. (1997) · Accounting Management and Information Technologies · doi:10.1016/s0959-8022(96)00024-0 · Cited by 18
An intelligent tool to aid students in learning second and subsequent programming languages
Fix, V., & Wiedenbeck, S. (1996) · Computers & Education · doi:10.1016/0360-1315(96)00022-x · Cited by 16 · cited 1×
“In 1996, Fix and Wiedenbeck presented ADAPT, a tool which helped students who already knew one language transition to Ada [13].”
BackgroundObstacles to Learning a Second Programming Language: An Empirical Study
Walker, K. P., & Schach, S. R. (1996) · Computer Science Education · doi:10.1080/0899340960070101 · Cited by 16 · cited 2×
“Although conventional wisdom states that learning a new programming language is easier after a first language is mastered [41], in practice such learning transfer may not be straightforward.”
BackgroundA Miss is as Good as a Mile: Off-By-One Errors and Arrays in an Introductory Programming Course
Rigby, L., Denny, P. C., & Luxton-Reilly, A. (2020) · Australasian Computing Education Conference · doi:10.1145/3373165.3373169 · Cited by 15 · cited 1×
“An example is C’s 0-based indexing, which differs from MATLAB’s 1-based indexing, and is known to contribute to the high frequency of off-by-one errors encountered by novices in introductory courses [27, 33].”
MethodSelf-citationI'm Sure! Automatic Detection of Metacognition in Online Course Discussion Forums
Huang, E., Valdiviejas, H., & Bosch, N. (2019) · International Conference on Affective Computing and Intelligent Interaction and workshops · doi:10.1109/acii.2019.8925506 · Cited by 14
Self-citationHolvitie, J., Rajala, T., Haavisto, R., Kaila, E., Laakso, M., & Salakoski, T. (2012) · IEEE International Conference on Advanced Learning Technologies (ICALT) · doi:10.1109/icalt.2012.186 · Cited by 12 · cited 4×
“Holvitie et al. built ViLLE to assist students transitioning from Python to Java [17], reporting that student outcomes improved when it was used.”
BackgroundInfluentialLearning new programming languages: an analysis of the process and problems encountered
Scholtz, J. C., & Wiedenbeck, S. (1992) · Behaviour and Information Technology · doi:10.1080/01449299208924339 · Cited by 9 · cited 2×
“Previous work has shown that even experienced programmers need help in adapting their high-level plans (i.e. goal setting) to the new language [36].”
BackgroundThe Role of Explicit Instruction on Students Learning their Second Programming Language
Tshukudu, E., & Jensen, S. M. (2020) · doi:10.1145/3416465.3416475 · Cited by 8 · cited 2×
“Very recent work has sought to understand this process from the perspective of natural language acquisition [39, 40].”
BackgroundA Frame of Mind: Frame-based vs. Text-based Editing
Brown, N. C. C., Kyfonidis, C., Weill-Tessier, P., Becker, B. A., Dillane, J., & Kölling, M. (2021) · doi:10.1145/3481282.3481286 · Cited by 6 · cited 1×
“Still others have shared their tools without empirical evidence, but report student experiences were positive [21, 22], or had inconclusive results [7].”
BackgroundSelf-citation
Research works printed but not linked: 6
- Elizabeth L. Bjork and Robert A . Bjork . 2011 . Making Things Hard on Yourself, but in a Good Way : Creating Desirable Difficulties to Enhance Learning. In Psychology and the Real World : Essays Illustrating Fundamental Contributions to Society , , Morton Ann Gernsbacher, Richard W. Pew, Leaetta M. Hough, and James R. Pomerantz (Eds.). Worth, NY, NY. Elizabeth L. Bjork and Robert A. Bjork. 2011. Making Things Hard on Yourself, but in a Good Way: Creating Desirable Difficulties to Enhance Learning. In Psychology and the Real World: Essays Illustrating Fundamental Contributions to Society , , Morton Ann Gernsbacher, Richard W. Pew, Leaetta M. Hough, and James R. Pomerantz (Eds.). Worth, NY, NY.
- Barney G. Glaser and Anselm L . Strauss . 1967 . The Discovery of Grounded Theory: Strategies for Qualitative Research .Aldine de Gruyter , NY, NY. Barney G. Glaser and Anselm L. Strauss. 1967. The Discovery of Grounded Theory: Strategies for Qualitative Research .Aldine de Gruyter, NY, NY.
- MP Lee , JD Pryce , and A Harrison . 1970 . Prolog as a First Programming Language . WIT Transactions on Information and Communication Technologies , Vol. 7 (1970). MP Lee, JD Pryce, and A Harrison. 1970. Prolog as a First Programming Language. WIT Transactions on Information and Communication Technologies , Vol. 7 (1970).
- Anthony Robins , Patricia Haden , and Sandy Garner . 2006 . Problem Distributions in a CS1 Course . In Proceedings of the 8th Australasian Conf. on Comp Ed - Vol. 52 (Hobart, Australia) (ACE '06). Australian Computer Society, Inc., AUS, 165--173. Anthony Robins, Patricia Haden, and Sandy Garner. 2006. Problem Distributions in a CS1 Course. In Proceedings of the 8th Australasian Conf. on Comp Ed - Vol. 52 (Hobart, Australia) (ACE '06). Australian Computer Society, Inc., AUS, 165--173.
- Richard Socher , Alex Perelygin , Jean Wu , Jason Chuang , Christopher D. Manning , Andrew Ng , and Christopher Potts . 2013 . Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank . In Proc. of the 2013 Conf. on Empirical Methods in NLP. Association for Computational Linguistics , Seattle, Washington, USA, 1631--1642. https://aclanthology.org/D13--1170 Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D. Manning, Andrew Ng, and Christopher Potts. 2013. Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank. In Proc. of the 2013 Conf. on Empirical Methods in NLP. Association for Computational Linguistics, Seattle, Washington, USA, 1631--1642. https://aclanthology.org/D13--1170
- Philip H Winne and Allyson F Hadwin . 1998. Studying as Self-Regulated Engagement in Learning. Metacognition in educational theory and practice ( 1998 ), 277--304. Philip H Winne and Allyson F Hadwin. 1998. Studying as Self-Regulated Engagement in Learning. Metacognition in educational theory and practice (1998), 277--304.
Cited by
Prather, J., Reeves, B. N., Denny, P., Becker, B. A., Leinonen, J., Luxton-Reilly, A., Powell, G., Finnie-Ansley, J., & Santos, E. A. (2024) · ACM Transactions on Computer-Human Interaction · doi:10.1145/3617367 · Cited by 256
“The computing education literature documents syntax errors – and the messages they generate – as presenting a significant challenge to both novices and students transitioning to new programming languages [9, 27].”
BackgroundSelf-citationParsons Problems and Beyond: Systematic Literature Review and Empirical Study Designs
Ericson, B. J., Denny, P., Prather, J., Duran, R., Hellas, A., Leinonen, J., Miller, C. S., Morrison, B. B., Pearce, J. L., & Rodger, S. H. (2022) · Proceedings of the 2022 Working Group Reports on Innovation and Technology in Computer Science Education · doi:10.1145/3571785.3574127 · Cited by 56
“It’s also possible that information on novices moving to a new programming language could be useful [42] given the stark differences between programming from scratch and using Parsons problems.”
BackgroundSelf-citationPrather, J., Margulieux, L., Whalley, J., Denny, P., Reeves, B. N., Becker, B. A., Singh, P., Powell, G., & Bosch, N. (2022) · Proceedings of the 2022 ACM Conference on International Computing Education Research - Volume 1 · doi:10.1145/3501385.3543970 · Cited by 31
“The method has been validated with secondary and postsecondary school students [8, 25], including in computer programming contexts [11].”
BackgroundMethodSelf-citationMacNeil, S., Rogalska, M., Leinonen, J., Denny, P. C., Hellas, A., & Crosland, X. (2024) · ACM Virtual Global Computing Education Conference (SIGCSE Virtual) · doi:10.1145/3649165.3690100 · Cited by 20
“…prior to it being returned by the function return count -1; We also observed some unusual errors, such as using a post-decrement operator within the loop condition, leading to quite subtle bugs (and which would cause the loop to terminate earlier than a typical off-by-one): for (int i = 0; i <…”
Self-citationWhat Happens When Students Switch (Functional) Languages (Experience Report)
Lu, K.-C., Krishnamurthi, S., Fisler, K., & Tshukudu, E. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3607857 · Cited by 6
Metadata
- Authors
- Denny, P., Becker, B. A., Bosch, N., Prather, J., Reeves, B., & Whalley, J.
- Affiliations
- University of Auckland (NZ)
- University College Dublin (IE)
- University of Illinois Urbana-Champaign (US)
- Abilene Christian University (US)
- Auckland University of Technology (NZ)
- Venue
- Proceedings of the 53rd ACM Technical Symposium on Computer Science Education
- Publisher
- ACM
- Published
- 2022-02-22
- Pages
- 948-954
- OpenAlex
- W4300023581
- Cited by
- 11
- References
- 35
- Citations by year
- 2025: 4 · 2024: 3 · 2023: 2 · 2022: 2
- FWCI
- 3.59
- Type
- conference paper
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- Locations
- ACM Technical Symposium on Computer Science Education (SIGCSE) (publishedVersion, cc-by-nd)
- Topics
- Physical Sciences › Computer Science › Computer Science Applications › Teaching and Learning Programming
- Social Sciences › Education › Problem and Project Based Learning
- Social Sciences › Education › Reflective Practices in Education
- Keywords
- programming language transition, novice programmers, student reflection, sentiment analysis, metacognition, MATLAB, C programming, compiled languages, interpreted languages, error messages, compilation, programming education
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.
