← advait.org

This is a version of the following academic paper prepared for the web:

Advait Sarkar. 2023. Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models? In Proceedings of the 2023 ACM SIGPLAN International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software (Onward! 2023). Association for Computing Machinery, New York, NY, USA, 153–167. https://doi.org/10.1145/3622758.3622882

More details: Download PDFBibTeXACM Digital LibraryDOI: 10.1145/3622758.3622882arXiv:2311.00382

Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models?

Advait Sarkar

Abstract

The research field of end-user programming has largely been concerned with helping non-experts learn to code sufficiently well in order to achieve their tasks. Generative AI stands to obviate this entirely by allowing users to generate code from naturalistic language prompts. In this essay, we explore the extent to which “traditional” programming languages remain relevant for non-expert end-user programmers in a world with generative AI. We posit the “generative shift hypothesis”: that generative AI will create qualitative and quantitative expansions in the traditional scope of end-user programming. We outline some reasons that traditional programming languages may still be relevant and useful for end-user programmers. We speculate whether each of these reasons might be fundamental and enduring, or whether they may disappear with further improvements and innovations in generative AI. Finally, we articulate a set of implications for end-user programming research, including the possibility of needing to revisit many well-established core concepts, such as Ko’s learning barriers and Blackwell’s attention investment model.

1 The Status Quo for End-user Programming Research

End-user programming (EUP) is the activity of writing a program for one’s own use; one is both the programmer and the end-user of the program [54]. This can be contrasted with software development, in which the programmers are typically not going to be people using the system. There is a huge variety of end-user programmers (EUPs) and end-user programming activities, such as writing spreadsheet formulas to analyse data, or a script to automate a daily workflow, or even programming as a hobby for personal creative satisfaction [2].

Unlike professional software developers, EUPs typically have very little or no formal training in programming or computing. This gap in expertise is the primary challenge faced by EUPs trying to achieve their task (though there are other differences between EUPs and professionals, such as their motivations for programming, strategies for learning, debugging, etc. which add further complexities).

End-user programming research thus aims to bridge this gap. So far, its aim can be described as improving the ability of EUPs to use formal systems. The term “formal systems” is a shorthand to mean a predictable and deterministic interface which may include a programming language (e.g., spreadsheet formulas, or block programming in Scratch [86]) and other interface elements (e.g., the spreadsheet grid).

EUP research helps users with formal systems in three ways. The first approach is to help users learn how to use formal systems. This concern is shared by computer science education research (CSER) [29], and includes research on novice programming, the design of programming tutorial aids, multiple representations systems [105], etc.

The second approach is to reduce or scaffold the expertise required to use formal systems. This is the motivation behind many visual programming languages, such as Scratch [86], which uses blocks and slots of various shapes to anticipate and prevent syntactic and type errors, since a block of a certain shape can only fit into a corresponding slot.

The third approach aims to reduce the reliance on coding, such as programming by example (PBE) [62] and programming by demonstration (PBD) [21]. Thus, by showing examples of input and output, or manually demonstrating a particular process, users can define intended behaviour (code generation is often facilitated by a method such as program synthesis [70]). While the aim is to reduce the reliance on coding, in practice many PBE/PBD systems do not entirely avoid interaction with the generated code. For instance, Flash Fill [33], a commercially implemented PBE system for string manipulation formulas in spreadsheets, was initially deployed without showing the generated programs to the user, but was later extended to show the user its generated formulas (in some cases) for explanation, verification, and debugging.

In summary of the status quo: EUP research aims to help users avail of formal programming systems by improving their ability to learn, to reduce the expertise requirements of formal systems, or by offering alternatives to writing code.

2 The Scope of the Term “Generative AI” for End-User Programming

The term “generative AI” is extremely broad, encompassing many types of system with different capabilities, sometimes referring to a core algorithm (such as the transformer [113]), a particular instantiated model (such as GPT-4 [79]; these are also sometimes referred to as “foundation models” [13]), or a productised system which may be comprised of an ensemble of multiple models together with prompt engineering, safety heuristics, and user interface affordances (such as ChatGPT1). In this respect “generative AI” has taken on a similarly pluralistic nature as terms such as “machine learning” and “artificial intelligence” which can span an immense range of tools and techniques [67].

The additional descriptor “generative” is a reference to the fact that these models can generate information artefacts (such as images or text), by modelling a high-dimensional space from its input data from which new points can be sampled. This is as opposed to discriminative models, which can classify, label, score, or transform their input based on training examples, but do not explicitly model the input space [58]. It must be noted that while the term “generative AI” has only come into widespread usage in 2023 and is used to refer to contemporary generative models, research into generative models long predates this [27, 87], and “latent variable models” were proposed as early as the turn of the 20th century [16].

To focus the scope of the discussion in this paper, it is worth defining “generative AI” in terms of the aspects which are of greatest interest to EUPs, as well as the aspects which differentiate “generative AI” from previous generations of AI tools which have also been applied in the EUP context.

First, we are talking about tools which are directly used by EUPs. An EUP does not interact with an algorithm, or a specific model, but a tool which may consist of multiple models that are part of a broader system of heuristics, prompt engineering, and user interface elements. From the perspective of the end-user experience, there are many aspects of these heuristics and interface elements which impact their ability to use the underlying model.2

Second, we are talking about tools which are used in a programming context. There are many ways to define programming, but a particularly useful and influential definition in end-user programming research is that programming is any activity exhibiting “the property that the user is not directly manipulating observable things, but specifying behaviour to occur at some future time” [12]. Generative AI tools can be applied in a wide variety of contexts, and many of them relate to the direct production of artefacts (text, images, etc.) which are not interpreted as specifying behaviour to occur in the future – we exclude these from consideration.

Finally, we are talking about tools built on contemporary machine learning techniques as of this writing in 2023. Despite the fact that generative models have a long history, generative AI models, such as large language models [14] and image generation models [85] have recently seen a significant step-change in capabilities. The reason for this is a combination of advances in hardware (such as GPU clusters for training), algorithms (such as the transformer architecture), and the availability of Internet-scale datasets [94]. This has enabled models to achieve human-level performance for the first time in a wide variety of benchmarks including code generation, speech recognition, image generation, even passing the bar exam [46]. This is the latest development in a period typically dated to begin in 2016 that has been described as the “third summer” of AI,3 following a common periodisation of AI research as measured by “rapid scientific advances, broad commercialisation, and exuberance” [47]. A relatively stable term of art accepted and advocated within the AI research community that encapsulates the advances of the third summer is “deep learning” [60], which is broad enough to encompass a variety of approaches developed in recent years while being specific enough to exclude older generative approaches.

Putting these considerations together, the following definition is adopted for the remainder of the paper:

By generative AI, we mean an end-user tool, applied to programming, whose technical implementation includes a generative model based on deep learning.

Thus, some concrete examples which fit the definition and scope of generative AI in this paper are: GitHub Copilot4, an end-user tool which offers code completion assistance based on the OpenAI Codex large language model; end-user tools for naturalistic language-based programming in spreadsheets such as those built by Liu et al. [64] (also using Codex); and ChatGPT when it is being used to generate code, debug code, or explore APIs and documentation.

Some concrete examples which do not fit the definition and scope of generative AI in this paper are: CodeT5 [116], a code generating large language model (uses deep learning, is programming-oriented, but is not an end-user tool); early programming-by-demonstration systems such as Allen Cypher’s Eager [20] (is programming oriented, is an end-user tool, but does not use deep learning); and ChatGPT when it is being used to generate a short fiction story (uses deep learning, is an end-user tool, but is not supporting a programming activity).

3 Motivations for Applying Generative AI to End-User Programming

Why are the capabilities of generative AI important or beneficial for EUP, and how does it differ from existing approaches? As we have seen, EUP research is concerned with helping users achieve programming tasks by improving learning, reducing expertise requirements, and reducing reliance on coding. AI approaches prior to deep learning have been applied in various ways to each of these aims, such as generating and recommending tutorials [51, 122], detecting errors and suggesting fixes [35], and the generation of code from demonstrations [21].

In several EUP activities, generative AI creates improvements in degree over previous approaches. That is, it improves performance in terms of scope and accuracy. For example, let us consider five categories of EUP activity in which generative AI creates an improvement in degree: authoring, debugging, reuse, comprehension, and learning.

Authoring. The principal activity of EUPs is authoring, that is, actually writing code. Quantitative evidence for the improvement in degree afforded by generative AI is given by tracing the performance of various approaches in coding benchmark tests [5, 42, 112], where it is now possible to solve a much wider variety of programming tasks using natural language descriptions of the problem, and success rates for programming tasks described as being representative of “entry-level programmer” skill now regularly approaches 80%.

Debugging. Another key activity of EUPs is in debugging: detecting and fixing errors in existing code. Here again, quantitative studies and benchmarks of error detection and fixing show a significant improvement in degree in comparison to previous approaches [28, 44].

Reuse. Often, EUPs do not seek to directly author code starting from a blank slate, rather, they seek to reuse code available on the Web, code they have previously written, or code written by colleagues or stored in institutional repositories [59, 103]. There are several key challenges in the reuse activity, principally, locating relevant code, evaluating its suitability for reuse, and making necessary modifications to make the code fit their current context. Studies have found that even with interactive support for code reuse, EUPs can struggle to adapt code due to a lack of formal programming expertise [59]. Generative AI tools excel at facilitating reuse and adaptation of code, and mark a significant improvement in degree in comparison to previous approaches [94].

Comprehension. EUPs often seek to understand code for reasons other than debugging. For example, users receiving an unfamiliar spreadsheet from a colleague may review formulas in the spreadsheet to understand the underlying data sources for a particular value in their spreadsheet which is relevant to a decision they need to make [89, 104]. Studies have shown that generative AI has significantly improved capabilities in code explanation and summarisation for students and non-experts (though challenges remain) [44, 69].

Learning. A wide variety of AI approaches to facilitate learning for EUPs have been previously explored, from suggesting relevant tutorials [51, 122], to proactive suggestions for improving the likelihood of EUPs to write test cases to improve the robustness of their programs [120], and overcoming conceptual learning barriers [41]. However, a key challenge remains in adapting tutorials and learning materials to an individual’s problem context (what exactly are they trying to solve), their existing knowledge, and their learning style [15, 92]. Studies of spreadsheet learning show that learning from colleagues or “hallway experts” is common because it is an ideal learning situation: the colleague understands the user’s problem context and can tailor an explanation precisely to the learner’s needs [95]. This “holy grail” of personalised learning is another area where generative AI has shown to provide a significant improvement in degree, where explanations can be generated on an ad hoc basis for arbitrary code with arbitrary amounts of detail [23, 68], and it is likely that such explanations can be tailored with much greater precision to a particular learner in a particular instance.

Besides improvements in degree, generative AI also creates improvements in kind, that is to say, it can broadly shift EUP activities in novel directions, or enable kinds of assistance that were not possible with previous approaches. For example, let us consider the cases of one-off automations and exploratory programming.

One-off automations. Recall our working definition of programming as “specifying behaviour to occur at some future time”. This may suggest that EUPs write programs much as software developers do, as reusable assets which can be used repeatedly over time on different input data. Certainly many end-user automations are like this (consider the formulas in organisational spreadsheets which are often highly “templatized”, reused broadly and longitudinally across the organisation, sometimes for many years [36]). However, a lot of EUP is not like this, where instead the objective is to develop ad-hoc data processing or cleaning scripts which are used exactly once for a specific transformation and then discarded. In such one-off automations a lot of interesting end-user programming behaviour is observed, such as accepting errors or brittleness in the program, and transforming the data through a patchwork of manual and automated steps [81, 92]. Generative AI technologies are capable of transforming, cleaning, and augmenting data directly, which would eliminate the need for writing a reusable script for one-off automations entirely [38, 115]. This would shift the scope of EUP activities away from writing such automations, but it would also create new challenges for EUPs, for instance in verifying that such transformations have been done correctly, and in making the occasional transition from a fundamentally opaque transformation performed by a generative AI model to a more repeatable and well-understood script.

Exploratory programming. Finally, many EUP activities involve an exploratory aspect; where the programming objective is not known a priori but discovered through trial and error and experimentation [48]. This is not just true of artistic applications of programming such as the generation of digital art or live coding music [18], where the exploration may not converge to a formally “correct” solution (rather the exploration converges to a state of subjectively assessed completion), but is also true of situations such as exploratory data analysis where the rough forms of acceptable solutions may be known beforehand, but the precise procedures are still to be determined [76]. Here, generative AI not only increases the rapidity of such exploration but also enables forms of assistance that were not possible with previous approaches, such as the generation of alternative narratives to trigger nonlinear “leaps” in the user’s thinking (though this is yet to be investigated in an EUP setting) [90, 101].

4 The Potential Intensification of End-User Programming: The Generative Shift Hypothesis

Generative AI can be applied to generate code in a traditional programming language based on natural (or naturalistic) language prompts. A brief overview of large language models for code generation is given in Sarkar et al. [94]. This technology has already been commercialised in a number of code editors and extensions, such as GitHub Copilot.5

As a method for enabling people to program without writing code directly, generative AI can be viewed as an evolution of previous methods such as PBE, PBD, and older syntax-directed or machine-learning based code autocompletion.

In other ways, as explained in Section 3, the maturation of generative AI may herald a revolution in capabilities, in particular for EUPs. This is what we will refer to as the generative shift hypothesis: a radical widening in scope and capability of EUP due in particular to increasing use of generative models.

The generative shift hypothesis posits the following qualitative and quantitative shifts:

The three dimensions of the generative shift hypothesis visualised on three axes: intensification, extensification, and acceleration.
The generative shift hypothesis: due to generative AI, end-user programming will undergo intensification, extensification, and acceleration. Note: this figure does not appear in the original publication and is a later addition.

It is not within the scope of this essay to gather evidence for or against the generative shift hypothesis, and assess whether, and how fast, it might happen. Rather, we take the position of assuming it will happen, and attempting to analyse the role of formal systems in such a future.

Effectively guiding a generative model to produce the desired outcome is an area of active research (e.g., [65, 106, 118]). Current commercial tools can generate code from naturalistic language “prompts”, or auto-complete partially written code, or a combination of both. For non-programmers, the main mode of interaction is via language. This opens the possibility for EUP to become an activity that does not rely on learning or engaging with a formal programming system at all.

Generative AI therefore raises a critical, perhaps existential question for EUP research: what is the role of the current research agenda which aims to help users learn formal systems, or reduce the expertise requirements of formal systems? In a world where generative models are highly performant at translating naturalistic language into code, is there still a role for learning and interaction with formal systems for EUPs? Put simply: will code remain a relevant user interface for end-user programming?

5 Does Code Still Matter? Evaluating the Value Propositions of Formal Systems

To answer whether code may become irrelevant for EUPs, it may help to enumerate some current reasons that using a formal system, or combining a formal system with generative AI, might still result in a superior user experience than interacting purely through informal language. This section will discuss the following, possibly incomplete, list of reasons why code still matters: limited abilities, control, agency, awareness of the possible, explanation and interpretation, debugging, trust, and the illusion of informality. We will also consider the extent to which each value proposition might endure or become less relevant, as generative AI improves.

Limited abilities. The first reason is simply that generative AI can fail to correctly “translate” a natural language prompt into a suitable and correct program. It is difficult to draw clear boundaries around what these models can and cannot do. For one, they are opaque and non-deterministic, and can produce widely divergent responses to the same query. For another, the response is heavily influenced by the prompt, the training data, hyperparameters, and any other heuristics or processing applied to the input or output in a particular system. Finally, the state of the art is rapidly evolving. Thus, it would not be appropriate to make general statements such as “generative AI cannot currently solve problem X” because it makes a universal claim about the capabilities of every system, with their own ensemble of models, heuristics, training data, etc. Rather, every system’s response is fundamentally unique and varies depending upon the prompt, heuristics, and hyperparameters.

With these caveats in mind, it is worth looking at a small set of examples of generative AI failure, only to illustrate the kinds of problems that are not typically solved by end-user tools as of this writing in 2023.

# Given a list of strings and a string s, 
# return the average length of all strings 
# containing s.

def averageContainingStringS(strings, s):
    count = 0
    for string in strings:
        if s in string:
            count += 1
    return len(s) * count / len(strings)
Listing 1. Python code generation failure example from Denny et al. [24]

Prompt: "Select all rows where the entry in column 
'gamma' is less than 40 and select all rows where 
the entry in column 'gamma' is more than 53"

Response:
Table.SelectRows(#"Table1",each [gamma]<40)
Listing 2. Code generation failure example from Khatry et al. [50]

Prompt: "How many super bowls has New Orleans won"

Response:
df[df['Host City'] == 'New Orleans']['Winner'].count()
Listing 3. Python code generation failure example from Liu et al. [64]

The first example (Listing 1) comes from a paper exploring the limitations of GitHub copilot for CS1 problems [24], where copilot generates an incorrect function for calculating the average length of strings in a list, by generating nonsensical arithmetic. The second example (Listing 2) comes from Khatry et al. [50] and shows another simple example where the generated code satisfies one of the requested conditionals but ignores the other.

The final example (Listing 3) is drawn from a paper applying code generation models to data analysis problems in spreadsheets, where the full problem context can be seen [64]. In this case, the code has incorrectly selected the “Host City” column to compute a count of relevant strings, whereas it should have selected the “Winner” column. Liu et al. [64] characterise several types of failure modes with examples, such as the generation of non-executable code, selection of incorrect input columns, incorrect output formats (e.g., the generated code overwrites a column instead of generating a new one), or generating raw data output rather than a calculation.

As these examples suggest, there are situations where generating the required code is either beyond the capabilities of generative AI, or for some reason or another incorrect code is generated even if it is within current capabilities. To cope with such situations, EUPs might need to engage with a formal system.

On the other hand, at the time of writing in early 2023, we are in a transitional moment with generative AI technology. It is clear that generative models will continue improving due to the current strategy of increasing the scaling of parameters and training data.6

Therefore, the problem of limited abilities, by definition, may seem to ameliorate as generative models improve. However, as the capabilities for automation improve, so might the demand for automation; it would be a fallacy to assume that EUP demands are stable over time and that today’s EUP tasks are representative of future ones. Transport planners often engage in road-widening schemes to alleviate traffic congestion, only to find that the increased capacity is immediately consumed by increased demand [71]. In the 19th century, economist William Jevons observed that improvements in the efficiency of coal engines paradoxically resulted in an increased demand for coal [3]. These are examples of “rebound effects”, where gains in efficiency, capacity, and capability, are offset by changes in human behaviour. Similarly, the improvement of generative AI in addressing basic tasks may result in end-user demand for even more sophisticated and nuanced automation, which again shifts the goalposts for AI. On the other hand, EUPs already find engaging with formal systems a challenge; it is therefore difficult to see how engagement with formal systems might be a suitable fallback in the nuanced cases where generative models of the future fail.

Control. The second reason is to give direct and nuanced control over the behaviour of the system. Composing a program using a formal system allows users to directly express both “what” to compute and “how” to compute it. It allows EUPs to directly implement desired operations, as well as avoid undesired ones (e.g., avoiding a very slow API call, or avoiding a lookup of private data if it is unnecessary).

Formal systems offer direct and nuanced control, but varying degrees of control can also be achieved using informal systems. For instance, faceted natural language prompts which specify input and output types, or decompose a problem into smaller steps, offer increased control while retaining the relative informality of natural language [64, 74]. As generative models improve in performance, providing control without resorting to formal systems will be an important target for the EUP research agenda.

Agency. Related to control, the third reason is agency [19], a term from cognitive neuroscience referring to the feeling of being an active agent able to effect change in the world. A sense of agency improves the EUP experience, a lack of agency worsens it. Learning to code in a formal system has been associated with a sense of agency, and the related concept of computer self-efficacy [8].

It is important to note that while control and agency are related, they are distinct constructs. Control refers to the perception of influence over the external environment, whereas agency focuses on the perception of being an intentional actor who can initiate and execute actions. Both control and agency play crucial roles in human experience, motivation, and well-being.

Though they are often interdependent, it is possible to have agency without (some types of) control. For example, “agency is influenced by control specified at different hierarchical levels. [...] when higher-level control is exercised (i.e., goal-level control) lower level control processes (i.e., perceptuo-motor control) have no influence on sense of agency” [63]. Conversely, it is also possible to have (some types of) control without agency. For instance, studies of assisted mouse cursor pointing (an example of a lower-level perceptuo-motor process) have shown that “beyond a certain level of assistance users experienced a detectable loss in their sense of agency”, even when the user had full goal-level control (i.e., the final destination of the cursor) [19].

An interesting question posed by the generative shift for interface design, therefore, is what types of control over the generation process are necessary or sufficient for creating a sense of agency. Direct control via a formal system can create a sense of agency, but just as there are alternative ways of offering control, so there are alternative ways of fostering agency. At one extreme, the sense of agency can be manipulated using placebo controls (such as the notorious pedestrian traffic light buttons that serve only to pacify impatient pedestrians and have no effect on the scheduled changes of the lights [72]). Moreover, user agency is a complex, multi-level phenomenon: the overall agency of an EUP might increase with the increased automation capabilities offered by generative AI, even if they find it difficult to control the behaviour of the AI in particular instances due to the lack of a formal system. As with control, fostering and maintaining an appropriate sense of agency will be an important target for the EUP research agenda.

Awareness of the possible. The fourth reason that learning and using a formal system is still useful is the “awareness of the possible” [92]; experience with a formal system gives users a thought language within which to define problems and envision potential solutions. Knowing that something can be automated is as important as knowing how to automate it; a user with a powerful generative AI that can automate some task is still at a disadvantage if they do not conceive of that task as something which can be automated.

This benefit of formal systems may be surpassed by improved generative AI as well as other interaction design techniques. Generative models may be able to suggest potential suitable automations and different strategies for implementing them, educating the user along the way. For example, in the field of data analysis, the aim of Intelligent Discovery Assistants (IDAs) has been to support users to form a strategy for achieving some analysis goal [98]; similarly research into exploratory programming [48] aims to support users in shaping their goals through experimentation. These fields have produced general interaction techniques for visualising and interacting with a possibility space which may be applied to interaction with generative models, without requiring end-users to engage with code. As with the previous points, facilitating this awareness with generative models will also be an important target for EUP research.

Explanation, interpretation, and debugging. Research has shown that explaining the behaviour of AI-driven EUP systems is desirable for many reasons [57]; allowing EUPs to engage with the formal system(s) in which a generative model might emit scripts is one way (albeit not the only way) to provide explanation and interpretability.

Debugging is closely related to explanation and interpretation. Engagement with formal systems is a potentially superior way for EUPs to find and fix errors, than engaging with a generative model purely through natural language. For example, if the script generated by a generative model contains an off-by-one error, viewing the generated code might make it significantly easier to identify and correct it.

Formal systems offer a predictable route towards explanation, interpretation, and debugging. Yet each of these already presents a formidable challenge for EUPs, indeed much EUP research focuses on helping EUPs carry out each of these activities by scaffolding formal systems to overcome their limitations (e.g., the “idea garden” [41]). The design challenge is likely to increase further as generative models improve at synthesizing more sophisticated programs. We probably want different approaches to explanation which do not rely on engagement with formal systems; EUP and interactive machine learning research has already been developing various techniques that may be suitable starting points [55, 57].

Trust. Formal systems allow EUPs to verify the behaviour of the generated code in terms of well-understood and well-trusted procedures. For instance, when a spreadsheet user sees that a sum is calculated with the spreadsheet SUM function, they trust that it is correctly computing the sum because it is a deterministic algorithm written and checked by a trusted party (e.g., Microsoft or Google). Inspecting the formal output of a generative model may therefore be an important route towards trusting the result. It is worth noting here, though, that code “correctness” is not as important to EUPs as it is to professional software developers; research has shown that EUPs commonly use incorrect or incomplete code if it helps them partially automate their workflow, and are happy to manually correct errors, or accept errors which they see as irrelevant to the task at hand [81].

Expressing a computation in terms of trusted and verified operations (such as SUM) is an important route for establishing trust in the correctness of generated code. This strength of formal systems is unlikely to disappear simply by improving the performance of current models. Generative models can be asked to explain code in natural language, but they are prone to hallucination, as their output represents statistically likely completions rather than true and verifiable statements [80]. In the future, it may be possible to constrain explanations of a script to refer to provably correct and verifiable procedures. To pursue this strategy and develop usable EUP systems along these lines will require a collaborative effort between researchers skilled in generative AI, programming languages, and human-centric end-user programming.

Illusion of informality. The eighth and final reason is slightly unlike the others, and is rather a meta-level observation about the nature of using generative models. The observation is that the disappearance of formality may be an illusion; generative models still require high levels of craft expertise to use effectively, and the shift to “prompt engineering” hasn’t eliminated programming at all, but simply shifted it into a higher level of abstraction. This is a perspective harboured by some (though not all) professional software developers who use generative AI assistance in their work [94].

As generative models get better, will “prompt engineering” remain a form of skilled craft practice that is distinct from ordinary communication skills, or will generative models reach a point where they can interpret truly arbitrary natural language at or exceeding human proficiency? On one hand, Miller and others have pointed out that a major hurdle for AI to interpret the meaning of a query is understanding the context of that query [73, 91], with the implication that future models, which will become better at including or inferring this context, will allow for more informal querying styles. On the other hand, the imprecision of natural language, particularly when it comes to discourse on matters of logic, mathematics, philosophy, and science, has long been seen as a major drawback and spurred many attempts to design more logically “perfect” languages [26, 78]. Indeed, the program of analytic philosophy which was born out of such concerns eventually gave rise to our modern programming languages [4], and it is interesting that programming via generative models brings us back, full circle, to natural language. However, the trend of improving generative models seems to imply that rather than “prompt engineering” remaining just like programming but at a higher level of abstraction, the application of language formality for precision, brevity, etc. in future systems will become more social and discretionary. Language for instructing generative models may develop much as scientific or legal language develops as a way for scientists and lawyers to communicate more effectively: organically, through power relations enacted by individuals, groups, and institutions [30].

6 Limitations and Challenges Posed by Generative AI in End-User Programming

There are many limitations and challenges of applying generative AI in end-user programming. Many of the challenges and ethical issues around trust, verification, privacy, bias, credit, and accountability are not unique to end-user programming: they apply to all applications of AI to software development, and at the broadest level they apply to all applications of AI.

The focus of this paper is on the role of formal systems in the future of end-user programming, and a detailed discussion of ethical challenges would diverge from this focus. These have been extensively reviewed in recent research [102, 109, 117]. Nonetheless, it is worth briefly acknowledging these challenges to highlight that the generative shift is not an uncontestedly positive improvement for end-user programmers.

Problems for CS education. There is concern that generative AI may undermine the learning of novice programmers [7, 23]. Besides issues of academic integrity and misconduct, educators are apprehensive that over-reliance on generative AI may hinder the development of novice programmers’ metacognition and encourage what is considered “bad habits” in code.

Errors. Generative AI systems may not always produce high-quality outputs, and the generated outputs may contain errors or inconsistencies that are hard to detect or correct by end-user programmers [94].

Trust and transparency. Generative AI systems may not be able to explain how they generate their outputs, or why they choose certain outputs over others [91]. This may make it difficult for end-user programmers to trust or verify the generated code, or to understand its logic and functionality. They may not provide any documentation or comments for the generated code, or provide incorrect documentation, or may not allow the end-user programmer to modify or customise the code.

Privacy and security. Code generated by generative AI systems may collect, store, or use personal or sensitive data from end-users or other sources, such as health records, biometric data, or financial data. This may raise concerns about the protection of data privacy and security, and the potential for data breaches, misuse, or abuse. They may access or expose confidential or proprietary information from end-users or their clients [34].

Misinformation. Generative AI systems may generate outputs that are false, misleading, or deceptive, either intentionally or unintentionally. Generative AI models can produce outputs that are coherent and convincing, but not necessarily accurate or factual. They can also invent references and sources that do not exist, or contain biases from the training data. This can mislead or confuse end-user programmers who rely on generated code for their own use. For example, a generative AI tool may generate a code snippet that performs a data analysis, but the results may be incorrect or skewed by the underlying data or model assumptions. This may create risks of misinformation and manipulation, and undermine the trustworthiness and credibility of information sources.

Bias and discrimination. Generative AI systems may generate outputs that are unfair, biased, or discriminatory, either intentionally or unintentionally. They may generate code that reflects or amplifies existing social biases or stereotypes, such as gender, race, or ethnicity [9]. This may result in harms or injustices to individuals or groups, such as exclusion, marginalisation, or oppression.

Accountability. Generative AI systems may generate outputs that have significant impacts on end-users or other parties, such as legal, financial, or health outcomes. They may generate code that violates laws, regulations, or ethical norms, or that causes harms or damages to end-users or their stakeholders. This may raise questions about the accountability and responsibility for the outputs and their consequences, and the allocation of liability and compensation in case of harms or damages.

Attribution and ownership. Generative AI models can create outputs that are similar or identical to existing human-created artefacts, such as code, images, text, etc. This raises questions about the attribution and ownership of the generated outputs, and the potential for plagiarism, infringement, or misuse of intellectual property [90]. End-user programmers may not be aware of the original sources of the generated code, or the legal and ethical implications of using it for their own purposes.

In response to these challenges, researchers have proposed several complementary solutions [1, 34]:

Ethical design. Generative AI systems should be designed and developed with ethical principles and values in mind, such as fairness, transparency, explainability, privacy, security, and human dignity. Tools should incorporate mechanisms for data protection, output verification, bias mitigation, and user feedback.

Critical use. Generative AI systems should be used critically, and deployed with ethical standards and guidelines in mind, such as professional codes of conduct, industry best practices, and regulatory frameworks. End-user programmers need to be aware of the potential risks and challenges of using such tools.

Governance. Generative AI systems should be subject to ethical oversight and governance by various stakeholders, such as developers, providers, users, regulators, auditors, and ethicists. Tools should be monitored and evaluated by independent third parties for its performance, quality, safety, reliability, and accountability.

7 Implications for End-User Programming Research

We’ve explored how the generative shift results in a renewed research agenda around the role of formal systems in end-user programming, with a particular focus on control, agency, explanation and debugging, and awareness of the possible. This contrasts with two of the three main foci of prior generations of EUP research (described in Section 1): improving the ability of EUPs to learn formal systems, and to reduce the expertise requirements of formal systems. What might a research agenda for end-user programming look like in the wake of the generative shift?

Learning to fish. The importance of learning how to code for end-user programmers in a world where generative AI can provide answers is a complex issue that parallels the allegory of teaching a man to fish: “Give a man a fish, and you feed him for a day. Teach a man to fish, and you feed him for a lifetime”. While the availability of generative AI systems that can provide direct answers may initially seem to diminish the need for coding skills, the underlying implications reveal a more nuanced perspective. Coding goes beyond the mere act of obtaining answers; it fosters self-sufficiency and cultivates a deeper understanding of the underlying processes and algorithms involved. By learning how to code, end-user programmers gain the ability to create their own solutions, adapt existing ones, and address unique challenges effectively. This empowerment leads to a greater sense of control and creativity, enabling them to solve problems beyond the scope of what AI systems can provide. It has been argued that coding skills facilitate critical thinking, problem-solving, and logical reasoning, which are valuable assets in various domains [121]. While generative AI can offer immediate solutions, relying solely on it can result in dependency and limit the potential for innovation. Therefore, while generative AI presents opportunities for efficiency and convenience, the significance of learning how to code persists, promoting independence, adaptability, and a deeper understanding of computational principles.

But is this really true of end-user programming? Is self-sufficiency really an important optimisation goal, if generative AI is consistently capable of solving end-user tasks? That is, do we still need to teach the man to fish if he can simply receive fish on demand? It is possible that the answer is “no”; as much previous research has shown, in many end-user programming tasks the user may be content to use “incorrect” programs as well as manual methods in order to make progress towards a task [11, 81]. Unlike in a CS education or professional programming setting, the task comes first, and any educational or critical thinking outcomes are viewed as secondary. There are also objections to the universalising viewpoints of computational thinking, and evidence that learning to code does not in itself develop computational thinking skills [22].

A related issue has been explored by Potthast et al. [84] in the context of information retrieval: “the dilemma of the direct answer”. The question is to what extent search engine technology is responsible for synthesising information on the web to address the user’s particular query. They identify various trade-offs both on the user side (e.g., the cognitive workload of analysing retrieved documents versus the accuracy of the answer) and system-side (e.g., the organisation of information for automated processing versus human reading). In our current context, we might think of this as “the dilemma of direct programming”. An emergent research agenda for end-user programming might therefore be to ask what user-side and system-side tradeoffs emerge as a consequence of the generative shift.

Repositioning BERTology. Generative AI-based research must be carefully designed and evaluated in order to make meaningful contributions to the scientific literature. An emerging pattern in research is to simply try a generative model and see what it can do, a kind of research sometimes referred to as “BERTology” [88]. This approach is passive: implicitly positioning EUP researchers outside the development process. Moreover, the results are unlikely to be robust to further iteration and development of generative AI (already the term “BERTology” shows signs of ageing, as its name refers to a family of models that is no longer considered the state of the art). Rather, experimenting with generative AI and developing prompting strategies is a craft practice that should be seen as a necessary part of a research investigation, with its own forms of rigour, that feeds into broader research questions with more enduring value. Part of this rigour will involve identifying a clear research question or hypothesis that is independent of the “abilities” of models, the careful selection of a generative model that is well-suited to the problem at hand, and ensuring that the work is reproducible and transparent by detailing the models, heuristics, hyperparameters, and prompt development methodology.

End-user software customisation. A closely related set of concerns to end-user programming is end-user software customisation [66]. This encompasses a wide range of activities such as changing the default settings in an application, writing macros, and editing software source code [75], all with the aim of tailoring software to user needs. End-user customisation is viewed as challenging, with many expertise and motivational barriers, and consequently quite rare; in fact the tendency of people to accept “default” options is a widely documented and deployed phenomenon in behavioural science in domains ranging across organ donation, retirement savings, browser and search engine choices, and wireless encryption [37, 49]. At the same time, researchers have acknowledged the empowering value of end-user software customization, and proposed various potential solutions for increasing the customizability of software [6, 52, 82].

The generative shift may change the landscape of end-user software customization substantially. Not only in reducing the barriers to scripting and automation, but also in the spectrum of potential automations, and the user’s relationship with and attitude to automation and scripting. Petricek theorises that customizable software consists of a set of “substrates” [82], which are programming notations which trade off expertise requirements versus the scope of change they enable. For instance, in Excel, formulas have low expertise requirements and allow for a low scope of change to Excel functionality, whereas VBA has comparatively higher expertise requirements but enables a greater scope of change. A hypothetically “ideal” substrate can take on a smooth gradient, so that the same programming notation or environment can be used to make extremely small-scope changes with correspondingly low expertise requirements, as well as broad changes with correspondingly higher expertise requirements. Generative AI may provide such a substrate: by mediating between expressions of user intent in natural language, and a wide variety of underlying technical infrastructures. For instance, a natural language query in a spreadsheet might be satisfied by a combination of changed settings, formulas, and macros. Through the unified interface of naturalistic language, the user may be able to smoothly span a broad scope of changes.

But the implications go further: rather than the current model of feature-rich software applications where a number of use cases have been “captured” in code by expert software developers [77], future applications for creating and manipulating information artefacts may leave a large portion of development and customisation for end users. In such a future, what is the nature of the application? Is it a small set of core features that identifies a nucleus of concerns or type of information artefact that is a useful abstraction for knowledge workers, upon which they build? Or does the application disappear as an organisational principle for knowledge work, transitioning into artefact or process-oriented paradigms?

The cognitive dimensions of notations framework [32] offers a vocabulary for evaluating the design tradeoffs made in programming languages. However, they may also be applied to the design decisions in end-user software customisability. The generative shift enables much greater end-user flexibility in this regard, and raises some interesting implications for the cognitive dimensions framework. For instance, the dimension viscosity refers to how difficult it is to make small changes to the program. Consider the spreadsheet, an archetypical end-user programming application. The spreadsheet interface may have its own sources of viscosity, but the spreadsheet also has multiple options for scripting and automation, such as the formula language, definition of custom functions, and macro-style scripting. Each of these may bring their own sources of viscosity. Now, if the spreadsheet interface can be significantly customised through scripting, the user may be in a position to identify and ameliorate sources of viscosity in their own workflow. This leads to the user experience of viscosity in the interface being multifaceted, and evolving dynamically over time, rather than relatively fixed properties of a notation. A related set of concerns has been explored in depth by Jakubovic et al. [40].

Quantifying end-user programmers. In 2005, Scaffidi et al. estimated the number of end-user programmers using US labour statistics and extrapolating from the number of spreadsheet users [97]. This methodology works for as long as EUP activity is strongly associated with particular applications (such as spreadsheets), but the generative shift will enable EUP activities across many more applications and platforms, facilitating the breakdown of application boundaries [77] and mitigating the pains of transitioning between tools in the “toolbelt” style of computing [92, 107].

Attention investment. Blackwell’s Attention Investment Model explains the behaviour of programmers in deciding whether to automate something (e.g., write a script) or pursue a manual strategy [11]. Just like a cost-benefit analysis, Blackwell’s model posits that a programmer is likely to pursue automation if the (perceived) payoff, in terms of attention units saved by automation, minus the investment costs of automation, is greater than the cost of following a manual strategy, when accounting for the risk that the automation may not work. What happens to this model when the cost of automation is reduced to zero, or near zero? It is possible that rather than a trade-off between the costs and benefits of attention investment into automation, other factors will come to dominate the automation decision, such as agency and trust. Or perhaps there will still a cost-benefit tradeoff in terms of attention units, but these units will be spent (and saved) primarily on new categories of EUP activities that do not currently exist.

Learning barriers. Ko et al. defined six learning barriers for end-user programming systems: design, selection, coordination, use, understanding, and information [53]. After the generative shift, will EUPs face the same learning barriers? For instance, the abstraction matching problem identified by Sarkar et al. [94] does not fit neatly into any of these categories. Perhaps new learning barriers will appear, some will disappear, and some barriers will remain but their nature will change.

Self-efficacy. Wiedenbeck et al. found that computer self-efficacy increases substantially during introductory programming courses [119]. They propose that in order to create self-efficacy, students should practice tracing program execution, program comprehension, and manual writing of code. However, as a result of the generative shift, EUPs may gain self-efficacy not from the direct authoring and comprehension of code, but from effectively applying tools to solve their domain problems. Comprehending the underlying logic and structure of the AI-generated code may require different instructional strategies compared to tracing the logic of manually written programs. Rather than focusing on code directly, EUPs might learn how to explore the outputs and performance characteristics of AI-generated code as a way of critically analysing its behaviour and identifying potential limitations. This approach may help EUPs develop a mental model that incorporates an understanding of the strengths and weaknesses of generative AI and how it aligns with their programming goals.

Naming. Liblit et al. draw attention to (identifier) naming as a central conceptualisation mechanism and cognitive challenge in programming [61]. They find that programmers employ cognitive strategies when selecting and using names, such as following lexical and morphological conventions to convey role information and using metaphors to facilitate productive inferences. Natural language grammars influence name usage, and debates arise around the polysemy of names and their literal versus metaphorical meanings. The authors posit that the linguistic sophistication of a programming language may change or shift the cognitive burdens of programmers. The generative shift introduces an additional layer of linguistic influence in the prompt language used to control the tools as well as the language the tools may emit (by way of code explanation, example outputs, clarification requests, etc.). While generative AI could alleviate cognitive burdens in code development by generating optimised and readable code, as well as providing concise explanations of code logic, it is unclear whether such code and explanations can replicate the linguistic conventions, metaphors, and domain knowledge necessary for managing complexity, and it is uncertain to what extent such considerations remain central to the activity of programming as less code is written and read directly.

Live programming. Tanimoto presented a highly influential framework for evaluating the degree of liveness in programming environments, based on how quickly and continuously they provide feedback to programmers about the execution of their code [110]. After the generative shift, live systems might need to account for different forms and sources of feedback, besides execution feedback. For example, generative AI could provide feedback to programmers about the quality, readability, or maintainability of their code, or suggest alternative or improved ways of writing their code [39]. Moreover, generative AI could enable programmers to use natural language, gestures, or voice commands to express their intentions or goals, and the programming environment could generate or modify code accordingly. This could change the notion of liveness from being based on code editing and execution, to being based on goal specification and realization. Alternatively, generative AI could enable programmers to delegate some or all of their programming tasks to intelligent agents, and monitor or intervene in their work as needed. This could change the notion of liveness from being based on direct manipulation and control, to being based on supervision and guidance [111].

8 Conclusion

This essay has considered how generative AI might change the landscape of end-user programming and end-user programming research. The research agenda for end-user programming has so far focused on helping people learn and use formal systems (e.g., a programming language). However, generative AI stands to facilitate an intensification and extensification of end-user programming activities across many more applications and tasks, and users may interact with generative AI primarily through informal systems of natural language. This is the generative shift hypothesis.

Under the generative shift hypothesis, we have discussed how several strengths of formal systems, including control, agency, explanation, debugging, trust, may become less relevant or change in nature. We propose that EUP research may need to shift its traditional focus on formal systems to new concerns of the practical use of generative AI.

The key takeaways are:

Petricek encourages us to question the fundamental assumptions of programming languages research and theory [83]. The generative shift is an opportunity to propel EUP research forward, renewing and revitalising the importance of human-centric approaches to instructing computers, rather than unprogrammable AI tools that ultimately take freedom away from the user. As Blackwell calls for in Moral Codes [10]: “If computer users have access to appropriate notations - Moral Codes - they can use simple automation to make their lives less mechanical, rather than more. If computer interfaces are designed as notational spaces, they offer freedom and negotiation, even forms of social organisation, complex assemblies of intelligent decision making and deliberation, respecting the humans creating them, rather than pretending humans were not involved.”

References

[1]
A practical guide to building ethical AI: 2020. https://hbr.org/2020/10/a-practical-guide-to-building-ethical-ai. Accessed: 2023-06-29.
[2]
Aghaee, S. et al. 2015. Personality and intrinsic motivational factors in end-user programming. 2015 IEEE symposium on visual languages and human-centric computing (VL/HCC) (2015), 29–36.
[3]
Alcott, B. 2005. Jevons’ paradox. Ecological economics. 54, 1 (2005), 9–21.
[4]
Arawjo, I. 2020. To write code: The cultural fabrication of programming notation and practice. Proceedings of the 2020 CHI conference on human factors in computing systems (2020), 1–15.
[5]
Austin, J. et al. 2021. Program synthesis with large language models. arXiv preprint arXiv:2108.07732. (2021).
[6]
Basman, A. et al. 2016. Software and how it lives on-embedding live programs in the world around them. PPIG (2016), 19.
[7]
Becker, B.A. et al. 2023. Programming is hard-or at least it used to be: Educational opportunities and challenges of ai code generation. Proceedings of the 54th ACM technical symposium on computer science education v. 1 (2023), 500–506.
[8]
Beckwith, L. et al. 2006. Tinkering and gender in end-user programmers’ debugging. Proceedings of the SIGCHI conference on human factors in computing systems (2006), 231–240.
[9]
Bender, E.M. et al. 2021. On the dangers of stochastic parrots: Can language models be too big? Proceedings of the 2021 ACM conference on fairness, accountability, and transparency (2021), 610–623.
[10]
Blackwell, A. 2022. Chapter 13: conclusion. Moral Codes. MIT Press.
[11]
Blackwell, A.F. 2002. First steps in programming: A rationale for attention investment models. Proceedings IEEE 2002 symposia on human centric computing languages and environments (2002), 2–10.
[12]
Blackwell, A.F. 2002. What is programming? PPIG (2002), 20.
[13]
Bommasani, R. et al. 2021. On the opportunities and risks of foundation models. arXiv preprint arXiv:2108.07258. (2021).
[14]
Brown, T. et al. 2020. Language models are few-shot learners. Advances in neural information processing systems. 33, (2020), 1877–1901.
[15]
Burnett, M. et al. 2016. GenderMag: A method for evaluating software’s gender inclusiveness. Interacting with Computers. 28, 6 (2016), 760–787.
[16]
Cai, L. 2012. Latent variable modeling. Shanghai Arch. Psychiatry. 24, 2 (Apr. 2012), 118–120.
[17]
Chalhoub, G. and Sarkar, A. 2022. “It’s Freedom to Put Things Where My Mind Wants”: Understanding and Improving the User Experience of Structuring Data in Spreadsheets. Proceedings of the 2022 CHI conference on human factors in computing systems (2022), 1–24.
[18]
Collins, N. et al. 2003. Live coding in laptop performance. Organised sound. 8, 3 (2003), 321–330.
[19]
Coyle, D. et al. 2012. I did that! Measuring users’ experience of agency in their own actions. Proceedings of the SIGCHI conference on human factors in computing systems (2012), 2025–2034.
[20]
Cypher, A. 1991. Eager: Programming repetitive tasks by example. Proceedings of the SIGCHI conference on human factors in computing systems (1991), 33–39.
[21]
Cypher, A. and Halbert, D.C. 1993. Watch what i do: Programming by demonstration. MIT press.
[22]
Denning, P.J. 2017. Remaining trouble spots with computational thinking. Communications of the ACM. 60, 6 (2017), 33–39.
[23]
Denny, P. et al. 2023. Computing education in the era of generative AI. arXiv preprint arXiv:2306.02608. (2023).
[24]
Denny, P. et al. 2023. Conversing with copilot: Exploring prompt engineering for solving cs1 problems using natural language. Proceedings of the 54th ACM technical symposium on computer science education v. 1 (2023), 1136–1142.
[25]
Devlin, J. et al. 2018. Bert: Pre-training of deep bidirectional transformers for language understanding. arXiv preprint arXiv:1810.04805. (2018).
[26]
Eco, U. 1997. The search for the perfect language. Blackwell.
[27]
Everitt, B.S. 1984. An introduction to latent variable models. Springer Dordrecht.
[28]
Fan, Z. et al. 2022. Improving automatically generated code from codex via automated program repair. arXiv preprint arXiv:2205.10583. (2022).
[29]
Fincher, S. and Petre, M. 2004. Computer science education research. CRC Press.
[30]
Foucault, M. 1966. Les mots et les choses: Une archéologie des sciences humaines. Editions Gallimard.
[31]
Gorinova, M.I. et al. 2016. A live, multiple-representation probabilistic programming environment for novices. Proceedings of the 2016 CHI conference on human factors in computing systems (2016), 2533–2537.
[32]
Green, T.R.G. and Petre, M. 1996. Usability analysis of visual programming environments: A “cognitive dimensions” framework. Journal of Visual Languages & Computing. 7, 2 (1996), 131–174.
[33]
Gulwani, S. 2011. Automating string processing in spreadsheets using input-output examples. ACM Sigplan Notices. 46, 1 (2011), 317–330.
[34]
Harrer, S. 2023. Attention is not all you need: The complicated case of ethically using large language models in healthcare and medicine. EBioMedicine. 90, (2023).
[35]
Hermans, F. et al. 2015. Detecting and refactoring code smells in spreadsheet formulas. Empirical Software Engineering. 20, (2015), 549–575.
[36]
Hermans, F. et al. 2011. Supporting professional spreadsheet users by generating leveled dataflow diagrams. Proceedings of the 33rd international conference on software engineering (2011), 451–460.
[37]
JACHIMOWICZ, J.M. et al. 2019. When and why defaults influence decisions: A meta-analysis of default effects. Behavioural Public Policy. 3, 2 (2019), 159–186. DOI:https://doi.org/10.1017/bpp.2018.43.
[38]
Jaimovitch-López, G. et al. 2022. Can language models automate data wrangling? Machine Learning. (2022), 1–30.
[39]
Jain, K. and Tanimoto, S.L. 2020. Integrating a live programming role into games. PPIG (2020).
[40]
Jakubovic, J. et al. 2023. Technical dimensions of programming systems. arXiv preprint arXiv:2302.10003. (2023).
[41]
Jernigan, W. et al. 2015. A principled evaluation for a principled idea garden. 2015 IEEE symposium on visual languages and human-centric computing (VL/HCC) (2015), 235–243.
[42]
Jiang, S. et al. 2023. SelfEvolve: A code evolution framework via large language models. arXiv preprint arXiv:2306.02907. (2023).
[43]
Joharizadeh, N. et al. 2020. Gridlets: Reusing spreadsheet grids. Extended abstracts of the 2020 CHI conference on human factors in computing systems (2020), 1–7.
[44]
Kang, S. et al. 2023. Explainable automated debugging via large language model-driven scientific debugging. arXiv preprint arXiv:2304.02195. (2023).
[45]
Kaplan, J. et al. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361. (2020).
[46]
Katz, D.M. et al. 2023. Gpt-4 passes the bar exam. Available at SSRN 4389233. (2023).
[47]
Kautz, H. 2022. The third AI summer: AAAI robert s. Engelmore memorial lecture. AI Magazine. 43, 1 (2022), 105–125.
[48]
Kery, M.B. and Myers, B.A. 2017. Exploring exploratory programming. 2017 IEEE symposium on visual languages and human-centric computing (VL/HCC) (2017), 25–29.
[49]
Kesan, J.P. and Shah, R.C. 2006. Setting software defaults: Perspectives from law, computer science and behavioral economics. Notre Dame L. Rev. 82, (2006), 583.
[50]
Khatry, A. et al. 2023. From words to code: Harnessing data for program synthesis from natural language. arXiv preprint arXiv:2305.01598. (2023).
[51]
Klašnja-Milićević, A. et al. 2011. Integration of recommendations and adaptive hypermedia into java tutoring system. Computer Science and Information Systems. 8, 1 (2011), 211–224.
[52]
Klokmose, C.N. et al. 2015. Webstrates: Shareable dynamic media. Proceedings of the 28th annual ACM symposium on user interface software & technology (2015), 280–290.
[53]
Ko, A.J. et al. 2004. Six learning barriers in end-user programming systems. 2004 IEEE symposium on visual languages-human centric computing (2004), 199–206.
[54]
Ko, A.J. et al. 2011. The state of the art in end-user software engineering. ACM Computing Surveys (CSUR). 43, 3 (2011), 1–44.
[55]
Ko, A.J. and Myers, B.A. 2004. Designing the whyline: A debugging interface for asking questions about program behavior. Proceedings of the SIGCHI conference on human factors in computing systems (2004), 151–158.
[56]
Krizhevsky, A. et al. 2017. Imagenet classification with deep convolutional neural networks. Communications of the ACM. 60, 6 (2017), 84–90.
[57]
Kulesza, T. et al. 2015. Principles of explanatory debugging to personalize interactive machine learning. Proceedings of the 20th international conference on intelligent user interfaces (2015), 126–137.
[58]
Lasserre, J.A. et al. 2006. Principled hybrids of generative and discriminative models. 2006 IEEE computer society conference on computer vision and pattern recognition (CVPR’06) (2006), 87–94.
[59]
Lau, S. et al. 2021. Tweakit: Supporting end-user programmers who transmogrify code. Proceedings of the 2021 CHI conference on human factors in computing systems (2021), 1–12.
[60]
LeCun, Y. et al. 2015. Deep learning. nature. 521, 7553 (2015), 436–444.
[61]
Liblit, B. et al. 2006. Cognitive perspectives on the role of naming in computer programs. PPIG (2006), 11.
[62]
Lieberman, H. 2001. Your wish is my command: Programming by example. Morgan Kaufmann.
[63]
Limerick, H. et al. 2014. The experience of agency in human-computer interactions: A review. Frontiers in Human Neuroscience. 8, (2014). DOI:https://doi.org/10.3389/fnhum.2014.00643.
[64]
Liu, M.X. et al. 2023. “What it wants me to say”: Bridging the abstraction gap between end-user programmers and code-generating large language models. Proceedings of the 2023 CHI conference on human factors in computing systems (New York, NY, USA, 2023).
[65]
Liu, V. and Chilton, L.B. 2022. Design guidelines for prompt engineering text-to-image generative models. Proceedings of the 2022 CHI conference on human factors in computing systems (2022), 1–23.
[66]
Mackay, W.E. 1991. Triggers and barriers to customizing software. Proceedings of the SIGCHI conference on human factors in computing systems (1991), 153–160.
[67]
Mackenzie, A. 2017. Machine learners: Archaeology of a data practice. MIT Press.
[68]
MacNeil, S. et al. 2022. Automatically generating CS learning materials with large language models. arXiv preprint arXiv:2212.05113. (2022).
[69]
MacNeil, S. et al. 2023. Experiences from using code explanations generated by large language models in a web software development e-book. Proceedings of the 54th ACM technical symposium on computer science education v. 1 (2023), 931–937.
[70]
Manna, Z. and Waldinger, R.J. 1971. Toward automatic program synthesis. Communications of the ACM. 14, 3 (1971), 151–165.
[71]
Metz, D. 2021. Economic benefits of road widening: Discrepancy between outturn and forecast. Transportation research part A: policy and practice. 147, (2021), 312–319.
[72]
Middaugh, D.J. 2018. Delusion of control: Pushing buttons. Medsurg Nursing. 27, 6 (2018), 399.
[73]
Miller, T. 2019. Explanation in artificial intelligence: Insights from the social sciences. Artificial intelligence. 267, (2019), 1–38.
[74]
Mishra, S. et al. 2021. Reframing instructional prompts to GPTk’s language. arXiv preprint arXiv:2109.07830. (2021).
[75]
Mørch, A. 1997. Three levels of end-user tailoring: Customization, integration, and extension. Computers and design in context. 1997, (1997), 61.
[76]
Morgenthaler, S. 2009. Exploratory data analysis. Wiley Interdisciplinary Reviews: Computational Statistics. 1, 1 (2009), 33–44.
[77]
Nouwens, M. and Klokmose, C.N. 2018. The application and its consequences for non-standard knowledge work. Proceedings of the 2018 CHI conference on human factors in computing systems (2018), 1–12.
[78]
Okrent, A. 2009. In the land of invented languages: Esperanto rock stars, klingon poets, loglan lovers, and the mad dreamers who tried to build a perfect language. Random House.
[79]
[80]
Ouyang, L. et al. 2022. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems. 35, (2022), 27730–27744.
[81]
Pandita, R. et al. 2018. No half-measures: A study of manual and tool-assisted end-user programming tasks in excel. 2018 ieee symposium on visual languages and human-centric computing (vl/hcc) (2018), 95–103.
[82]
Petricek, T. 2022. No-code, no thought? Substrates for simple programming for all. No-code, no thought? Substrates for simple programming for all - Tomas Petricek. tomasp.net.
[83]
Petricek, T. 2016. Programming language theory: Thinking the unthinkable (work in progress). Proceedings of the Annual Conference of the Psychology of Programming Interest Group (PPIG) (2016).
[84]
Potthast, M. et al. 2021. The dilemma of the direct answer. Acm sigir forum (2021), 1–12.
[85]
Ramesh, A. et al. 2021. Zero-shot text-to-image generation. International conference on machine learning (2021), 8821–8831.
[86]
Resnick, M. et al. 2009. Scratch: Programming for all. Communications of the ACM. 52, 11 (2009), 60–67.
[87]
Revow, M. et al. 1996. Using generative models for handwritten digit recognition. IEEE transactions on pattern analysis and machine intelligence. 18, 6 (1996), 592–606.
[88]
Rogers, A. et al. 2021. A primer in BERTology: What we know about how BERT works. Transactions of the Association for Computational Linguistics. 8, (2021), 842–866.
[89]
Sarkar, A. et al. 2022. End-user encounters with lambda abstraction in spreadsheets: Apollo’s bow or achilles’ heel? 2022 IEEE symposium on visual languages and human-centric computing (VL/HCC) (2022), 1–11.
[90]
Sarkar, A. 2023. Exploring perspectives on the impact of artificial intelligence on the creativity of knowledge work: Beyond mechanised plagiarism and stochastic parrots. Annual symposium on human-computer interaction for work 2023 (CHIWORK 2023) (Oldenburg, Germany, 2023), 17.
[91]
Sarkar, A. 2022. Is explainable AI a race against model complexity? Workshop on Transparency and Explanations in Smart Systems (TeXSS), in conjunction with ACM Intelligent User Interfaces (IUI 2022) (Mar. 2022), 192–199.
[92]
Sarkar, A. 2023. Should computers be easy to use? Questioning the doctrine of simplicity in user interface design. Extended abstracts of the 2023 CHI conference on human factors in computing systems (New York, NY, USA, 2023).
[93]
Sarkar, A. et al. 2016. Visual discovery and model-driven explanation of time series patterns. 2016 IEEE symposium on visual languages and human-centric computing (VL/HCC) (2016), 78–86.
[94]
Sarkar, A. et al. 2022. What is it like to program with artificial intelligence? Proceedings of the 33rd Annual Conference of the Psychology of Programming Interest Group (PPIG 2022) (Sep. 2022).
[95]
Sarkar, A. and Gordon, A.D. 2018. How do people learn to use spreadsheets? (Work in progress). Proceedings of the 29th Annual Conference of the Psychology of Programming Interest Group (PPIG 2018) (Sep. 2018), 28–35.
[96]
Sarkar, A. and Gordon, A.D. 2018. How do people learn to use spreadsheets?(work in progress). PPIG (2018).
[97]
Scaffidi, C. et al. 2005. Estimating the numbers of end users and end user programmers. 2005 IEEE symposium on visual languages and human-centric computing (VL/HCC’05) (2005), 207–214.
[98]
Serban, F. et al. 2013. A survey of intelligent assistants for data analysis. ACM Computing Surveys (CSUR). 45, 3 (2013), 1–35.
[99]
Sevilla, J. et al. 2022. Compute trends across three eras of machine learning. 2022 international joint conference on neural networks (IJCNN) (2022), 1–8.
[100]
Silver, D. et al. 2016. Mastering the game of go with deep neural networks and tree search. nature. 529, 7587 (2016), 484–489.
[101]
Singh, N. et al. 2022. Where to hide a stolen elephant: Leaps in creative writing with multimodal machine intelligence. ACM Transactions on Computer-Human Interaction. (2022).
[102]
Solaiman, I. et al. 2019. Release strategies and the social impacts of language models. arXiv preprint arXiv:1908.09203. (2019).
[103]
Srinivasa Ragavan, S. et al. 2016. Foraging among an overabundance of similar variants. Proceedings of the 2016 CHI conference on human factors in computing systems (2016), 3509–3521.
[104]
Srinivasa Ragavan, S. et al. 2021. Spreadsheet comprehension: Guesswork, giving up and going back to the author. Proceedings of the 2021 CHI conference on human factors in computing systems (2021), 1–21.
[105]
Stead, A. and Blackwell, A.F. 2014. Learning syntax as notational expertise when using drawbridge. Proceedings of the psychology of programming interest group annual conference (PPIG 2014) (2014), 41–52.
[106]
Strobelt, H. et al. 2022. Interactive and visual prompt engineering for ad-hoc task adaptation with large language models. IEEE transactions on visualization and computer graphics. 29, 1 (2022), 1146–1156.
[107]
Sumner, T. and Stolze, M. 1997. Evolution, not revolution: Participatory design in the toolbelt era. MIT Press Cambridge, MA.
[108]
[109]
Tamkin, A. et al. 2021. Understanding the capabilities, limitations, and societal impact of large language models. arXiv preprint arXiv:2102.02503. (2021).
[110]
Tanimoto, S.L. 2013. A perspective on the evolution of live programming. 2013 1st international workshop on live programming (LIVE) (2013), 31–34.
[111]
Tanimoto, S.L. 2020. Multiagent live programming systems: Models and prospects for critical applications. Companion proceedings of the 4th international conference on art, science, and engineering of programming (2020), 90–96.
[112]
Touvron, H. et al. 2023. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971. (2023).
[113]
Vaswani, A. et al. 2017. Attention is all you need. Advances in neural information processing systems. 30, (2017).
[114]
Villalobos, P. et al. 2022. Will we run out of data? An analysis of the limits of scaling datasets in machine learning. arXiv preprint arXiv:2211.04325. (2022).
[115]
Vos, D. et al. 2022. Towards parameter-efficient automation of data wrangling tasks with prefix-tuning. NeurIPS 2022 first table representation workshop (2022).
[116]
Wang, Y. et al. 2021. Codet5: Identifier-aware unified pre-trained encoder-decoder models for code understanding and generation. arXiv preprint arXiv:2109.00859. (2021).
[117]
Weidinger, L. et al. 2021. Ethical and social risks of harm from language models. arXiv preprint arXiv:2112.04359. (2021).
[118]
White, J. et al. 2023. A prompt pattern catalog to enhance prompt engineering with chatgpt. arXiv preprint arXiv:2302.11382. (2023).
[119]
Wiedenbeck, S. et al. 2004. Factors affecting course outcomes in introductory programming. PPIG (2004), 11.
[120]
Wilson, A. et al. 2003. Harnessing curiosity to increase correctness in end-user programming. Proceedings of the SIGCHI conference on human factors in computing systems (2003), 305–312.
[121]
Wing, J.M. 2006. Computational thinking. Communications of the ACM. 49, 3 (2006), 33–35.
[122]
Zhang, N. et al. 2010. Towards automated synthesis of executable eclipse tutorials. SEKE (2010), 591–598.