Ilmu Komputer & AI editorial
Open AccessOA2024
On Formal Methods Thinking in Computer Science Education
This article argues that 'FM thinking'—the informal, practical application of formal methods ideas—should be a core part of every computer science student's education, as it significantly improves programming skills even without deep theoretical study.
Brijesh Dongol; Catherine Dubois; Stefan Hallerstede; Eric C. Hehner; C. Morgan; P. Müller; Leila Ribeiro; Alexandra Silva; Graeme Smith; E. D. de Vink· Formal Aspects Comput.· 2024· DOI 10.1145/3670419
The core problem
Formal Methods (FMs) are known to radically improve the quality of code artefacts. They are simple, potentially accessible to first-year undergraduates, and certainly to second-year students and beyond. However, they are often excluded from general curriculum recommendations, largely because teaching 'Formal Methods' is conflated with teaching logic and theory. This article advocates for **FM thinking**: the application of ideas from Formal Methods in informal, lightweight, practical, and accessible ways. The authors argue that FM thinking should be part of the recommended curriculum for every Computer Science student, as even students who only train in this thinking will become much better programmers. Furthermore, exposure to these ideas positions some students to pursue more theoretical backgrounds, including semantics, logics, verification, and proof-automation techniques.
Innovation
The article presents a conceptual argument rather than an empirical study. It distinguishes between traditional Formal Methods education (often focused on logic and theory) and FM thinking, which emphasizes informal, lightweight, and practical applications. The authors draw on their collective expertise to propose a curriculum integration strategy. They suggest that FM thinking should be introduced early, with optional advanced theoretical streams for interested students. The methodology involves a reasoned advocacy for this approach, supported by examples of how FM thinking can be applied in practice without heavy theoretical prerequisites.
Introduction
Formal Methods (FMs) are known to radically improve the quality of code artefacts. They are simple, potentially accessible to first-year undergraduates, and certainly to second-year students and beyond. However, they are often excluded from general curriculum recommendations, largely because teaching 'Formal Methods' is conflated with teaching logic and theory. This article advocates for **FM thinking**: the application of ideas from Formal Methods in informal, lightweight, practical, and accessible ways. The authors argue that FM thinking should be part of the recommended curriculum for every Computer Science student, as even students who only train in this thinking will become much better programmers. Furthermore, exposure to these ideas positions some students to pursue more theoretical backgrounds, including semantics, logics, verification, and proof-automation techniques.
Why it matters
The discussion centers on the misconception that Formal Methods are inherently theoretical and difficult. The authors argue that FM thinking is accessible and practical, and that separating it from advanced theory allows for broader adoption. They propose a two-tier approach: a general introduction to FM thinking for all students, and a specialized theoretical stream for those interested. This approach aims to demystify Formal Methods and integrate them into mainstream education. The authors also highlight the need for curriculum reform to accommodate this shift, emphasizing the long-term benefits for software quality and student competence.
Who should read this
Pembaca Research Digest dan praktisi rumpun ini.
Opening member content…