I am not very good at DIY. I have only one hammer in my rather small toolbox, and I use this hammer for any job, big or small. But I have a builder friend, Gez, who has a huge toolbox that they drag along to the jobs they do, and there is a bewildering array of hammers in this very heavy box.
What does this talk of hammers have to do with the teaching and learning of programming? In my work with Professor Paul Curzon at Queen Mary University of London and Professor Steve Kirk at Durham University, the analogy of hammers for programming constructs became a useful idea as the basis for our most recent jointly written paper on the first application of the Epistemic Plane in Computing Education Research.
Paul and I have a history of working together on the application of Legitimation Code Theory (LCT) in our field, investigating the teaching of programming. We have published before on Semantics and Autonomy, and have now turned our attention to the third dimension of LCT, Specialisation and specifically the Epistemic Plane. Steve, who has used the Epistemic Plane in his work on academic language in higher education, and I helped out, as Paul set out to analyse part of his practice using LCT.
As a case study to explore and exemplify the application of the Epistemic Plane, Paul drew on a problem that he faces as an undergraduate lecturer. He has noticed a year-on-year change in first year students’ initial programming practice. In particular, he noticed that current students seem more likely to use a while true construct to solve all loop problems, rather than other constructs that might be more suited. It was also difficult to get them to adopt more flexible practice that would make their programs easier to read.
Students designing and writing programs need to understand not only what a program should do but also how it should do it. In particular, they also need to know that code readability, for example, matters. Whilst two programs may both correctly meet the specification, in teaching programming, or in being a software engineer, there are unspoken “rules of the game” that are often hidden from students. Importantly, these rules change as one learns more. At the start of learning to program, students will have a limited view of what the computational concept of repetition is, and how to implement it as code. This may be a stepping stone and may include ‘misconceptions’. As students make progress, we are likely to expand on these earlier ideas, and maybe even re-teach them. For example, while-true constructs could be taught intentionally as an easy way to write working code, but later better ways to do the same thing are taught to replace this simplistic approach.
Our research directly examined this problem Paul had discovered. We used a theory called Legitimation Code Theory, and one analysis tool within this rather different toolbox.
The theoretical framework: Legitimation Code Theory and the Epistemic Plane
Legitimation Code Theory (LCT), developed by Karl Maton, is a sociological theory designed to explore any social practice by surfacing the underlying principles of what is considered legitimate by different stakeholders. Through a set of analytical tools, LCT uses dimensions such as Semantics, Autonomy, and Specialisation to reveal the structures of underlying practice.
One aspect of Specialisation is the Epistemic Plane. This framework can be used to analyse the basis of legitimacy for knowledge practice using two continua, which define four quadrants, or insights (see Figure 1):
- Ontic Relations (OR): The ‘What’: This axis refers to the strength of the identity of the phenomenon—how clear or well-defined the concept is. In the context of programming, OR+ indicates the student clearly understands the underlying computational concept, such as counter-controlled repetition, relative to the curriculum. OR– indicates the concept is less clear to them.
- Discursive Relations (DR): The ‘How’: This axis maps how fixed the method applied to the phenomenon is. For example, DR+ signifies that the method or programming construct is more fixed (e.g., using a fixed programming construct), while DR– signifies greater flexibility in the choice of construct.

Mapping programming practices on the Epistemic Plane
The four insights, or quadrants, of the Epistemic Plane, reveal different forms of student practice, which are effectively illustrated through the metaphor of a hammer and a problem. This analogy highlights the crucial distinction between understanding the computational concept (the what) and selecting the appropriate tool, so programming construct (the how), reflecting that I have a hammer and I hit it everything with it, compared to Gez, who understands tasks that need different hammers and he selects the right hammer for a job (see Figure 2 and Figure 3).


- Purist Insight (OR+, DR+): In this quadrant, the phenomenon is clear and the method is fixed. A student demonstrates purist insight when they recognise a specific computational problem (e.g., counter-controlled repetition) as one for which they were taught a specific solution (e.g., a for loop) and apply that prescribed program fragment. Students have specialist hammers for specific problems and use the right one for the problem, like Gez.
- Doctrinal Insight (OR–, DR+): This occurs when the concept is less clear to the student, but the method applied is fixed. The student does not fully grasp the computational concept but uses one fixed approach for all problems that superficially resemble problems they think their hammers are for. For example, a weaker student might use a while-true construct as a standard approach for any problem requiring repetition, even when a more specific construct is appropriate. This is my approach to problem solving with hammers. I and the student have one hammer and we hit everything with it. Such solutions may sensibly have been explicitly taught as a simple staging post in lower levels of education.
- No Insight (OR–, DR–): Here, neither the concept nor the method is clear to the student. A way to conceptualize this is that students have no hammer (DR–) nor clarity of the problem under focus (OR–).
- Situational Insight (OR+, DR–): This is where the concept is clear, but the appropriate approach depends on the situation, requiring a choice between approaches to be made. The learner understands the problem clearly and is aware of a range of approaches for solving it (e.g., different crafted loops for different types of repetition). They decide on the most appropriate construct based on the context. Here students could adapt a variety of hammers to the job at hand.
Student journeys: pathways and code shifts
The epistemic plane is more than a static categorisation (see Figure 4); it is a tool for analysing the learning journeys, or pathways, students take over time. When a new concept is introduced, novices often start with No Insight (OR–, DR–). For example, a student who does not know what repetition is, nor how to code it in a program, would start here. They are then introduced to the concept, what repetition is and one way to implement it, such as a forever loop in Scratch (akin to a while true). If they use this now for any repetition problem without understanding the subtleties, then they have moved to having doctrinal insight (OR–, DR+) They may then learn about the concept of counter-controlled repetition and of for loop implementations to solve them. For counter controlled-problems they now have Purist Insight (OR+, DR+) in that they now understand this sub-problem and have a clear solution to solve it. Over time, they may learn new kinds of loop situations and gain purist insight for each. However, they now are faced with situations that do not quite fit the patterns they have and start to adapt them to the problem, as well as making choices between the different repetition situations they face. They are now gaining Situational Insight (OR+, DR–).

Students will take different learning pathways, and we can plot their practice at different points on the Epistemic Plane over time. A student’s journey may involve a spiral around the plane: from no insight to doctrinal insight (applying a single pattern), then shift to purist insight (applying a pattern specific to a clear concept), and finally reach situational insight (choosing between multiple appropriate patterns based on context) as above. However, a situational insight may not be the best end point. In software engineering, knowing one should use a standard approach to solving a particular problem is important when working in a team, or when a program needs to be changed, where reuse and understanding of a solution is important.
Teachers play a crucial role in scaffolding students’ journeys. They must explicitly decide the intended path, which might involve introducing doctrinal solutions first as stepping stones. They must then explicitly flag when the “rules” of the game change—for example, by giving exercises designed to encourage a shift from a general doctrinal solution (like while-true) to more precise purist solutions. Without this explicit direction, students may be resistant to change and stick to their easier, doctrinal solution. Some students may ‘jump’ straight to situational insight if they do not learn purist patterns, perhaps if they are self-taught, and then may find it frustrating to be forced to use standard solutions, something essential in software engineering. Ultimately in industry, clear solutions are likely wanted rather than clever, totally hand-crafted code that only the programmer understands!
Practical uses of the Epistemic Plane
The epistemic plane offers practical opportunities for all computing education stakeholders, including students, teachers, resource developers, and curriculum policy makers.
- Clarifying content and progression: Educators should use the theory to establish and agree upon the “rules of the game” at each stage and make them explicit. Curriculum end points for key concepts should be agreed upon. Progression can be mapped out to clarify stepping stones.
- Informing pedagogy: Educators can use the plane to reflect on the routes they are taking and design appropriate pedagogy. For example, to explicitly guide students towards purist solutions and to explain why and when these solutions are more appropriate than situational solutions.
- Reviewing assessment and progression: The plane can be used for formative assessment, allowing students and teachers to plot points in time and pathways. Examination authorities can use it to design questions that differentiate students at no insight, doctrinal, purist, and situational stages of understanding. Critically, it acts as a tool for teachers to reflect on student misconceptions, helping to surface issues over what kind of solutions are considered appropriate in different contexts and how solutions act as stepping stones in concept development.
In conclusion, the epistemic plane is a valuable, research-informed analytical framework. It helps surface the importance of thinking about concept development, being aware of end points, and the conceptual shifts that occur, ultimately leading to more transparent and effective teaching and curriculum design. This is a useful reflective tool for educators, resource developers, and policy makers designing curriculum.
What do you do? Do you have one hammer and use it for all your hammering jobs; do you have lots of hammers you can use for different clearly defined jobs; or do you use adjustable hammers that you adapt to fit any job based on the context?
To read more about our research on LCT, please visit our research page. Here you will find the paper about the Epistemic Plane as described in this blog.