String formatting considered harmful for novice programmers
In Java, System.out.printf and String.format consume a specialised kind of string commonly known as a format string. In our study of first-year students at the Ateneo de Manila University, we discovered that format strings present a substantial challenge for novice programmers. Focusing on their fir...
Saved in:
Main Authors: | , , |
---|---|
Format: | text |
Published: |
Archīum Ateneo
2010
|
Subjects: | |
Online Access: | https://archium.ateneo.edu/discs-faculty-pubs/133 https://www.tandfonline.com/doi/abs/10.1080/08993408.2010.507335 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Ateneo De Manila University |
id |
ph-ateneo-arc.discs-faculty-pubs-1132 |
---|---|
record_format |
eprints |
spelling |
ph-ateneo-arc.discs-faculty-pubs-11322020-06-26T06:54:22Z String formatting considered harmful for novice programmers Hughes, Michael C Jadud, Matthew C Rodrigo, Ma. Mercedes T In Java, System.out.printf and String.format consume a specialised kind of string commonly known as a format string. In our study of first-year students at the Ateneo de Manila University, we discovered that format strings present a substantial challenge for novice programmers. Focusing on their first laboratory we found that 8% of all the compilation errors and 100% of the exceptional, run-time behaviour they encountered were due to the improper construction of format strings. Format strings are a language unto themselves embedded within Java, and they are difficult for novice programmers to master when learning to program. In this article, we present exemplars of students' problematic interactions with the Java compiler and run-time environment when dealing with format strings, discuss these interactions, and recommend possible instructional interventions based on our observations. 2010-01-01T08:00:00Z text https://archium.ateneo.edu/discs-faculty-pubs/133 https://www.tandfonline.com/doi/abs/10.1080/08993408.2010.507335 Department of Information Systems & Computer Science Faculty Publications Archīum Ateneo Novice programmer behavior string formatting syntax errors BlueJ Java Computer Sciences Science and Mathematics Education |
institution |
Ateneo De Manila University |
building |
Ateneo De Manila University Library |
country |
Philippines |
collection |
archium.Ateneo Institutional Repository |
topic |
Novice programmer behavior string formatting syntax errors BlueJ Java Computer Sciences Science and Mathematics Education |
spellingShingle |
Novice programmer behavior string formatting syntax errors BlueJ Java Computer Sciences Science and Mathematics Education Hughes, Michael C Jadud, Matthew C Rodrigo, Ma. Mercedes T String formatting considered harmful for novice programmers |
description |
In Java, System.out.printf and String.format consume a specialised kind of string commonly known as a format string. In our study of first-year students at the Ateneo de Manila University, we discovered that format strings present a substantial challenge for novice programmers. Focusing on their first laboratory we found that 8% of all the compilation errors and 100% of the exceptional, run-time behaviour they encountered were due to the improper construction of format strings. Format strings are a language unto themselves embedded within Java, and they are difficult for novice programmers to master when learning to program. In this article, we present exemplars of students' problematic interactions with the Java compiler and run-time environment when dealing with format strings, discuss these interactions, and recommend possible instructional interventions based on our observations. |
format |
text |
author |
Hughes, Michael C Jadud, Matthew C Rodrigo, Ma. Mercedes T |
author_facet |
Hughes, Michael C Jadud, Matthew C Rodrigo, Ma. Mercedes T |
author_sort |
Hughes, Michael C |
title |
String formatting considered harmful for novice programmers |
title_short |
String formatting considered harmful for novice programmers |
title_full |
String formatting considered harmful for novice programmers |
title_fullStr |
String formatting considered harmful for novice programmers |
title_full_unstemmed |
String formatting considered harmful for novice programmers |
title_sort |
string formatting considered harmful for novice programmers |
publisher |
Archīum Ateneo |
publishDate |
2010 |
url |
https://archium.ateneo.edu/discs-faculty-pubs/133 https://www.tandfonline.com/doi/abs/10.1080/08993408.2010.507335 |
_version_ |
1681506684791422976 |