Files

Download

Download Full Text (1.1 MB)

Description

Programmers are imperfect, and will often make mistakes when programming and create a program error, for example, attempting to divide by zero. When a computer tries to run a program with an error, the program will halt and present the details of the error to the user in the form of an error message. These error messages are often very jargon-heavy, and are not designed to be palatable to a novice programmer. This creates significant friction for new programmers trying to learn programming languages. This work is a part of an ongoing project (called Babel) led by Elena Machkasova in an attempt to ease this friction in the Clojure programming language. Currently, Babel software is able to replace standard error messages with ones that are more helpful for a beginner audience. My contribution to this project is an exploration of potential tools to effectively display information about errors in an interactive and intuitive manner. The most promising of these tools up to this point has been Morse, created by the company Cognitect, owned by Nubank. As this project continues to explore the possibilities of Morse and how it can integrate with the existing Babel system, we are putting together potential setups that novice programmers can use to effectively understand and explore the causes of the errors they come across. This project presents the setups that have been developed and discuss their benefits and tradeoffs in helping novice programmers understand error messages.

Publication Date

4-17-2024

Keywords

Clojure (Computer program language); Computer programming; Error messages (Computer science)

Disciplines

Programming Languages and Compilers

Providing Beginners with Interactive Exploration of Error Messages in Clojure

Share

COinS