The Los Angeles Post
U.S. World Business Lifestyle
Today: April 16, 2025
Today: April 16, 2025

AI gives nonprogrammers a boost in writing computer code

AI gives nonprogrammers a boost in writing computer code
AI coding handles the hard parts for nonprogrammers.

What do you think there are more of: professional computer programmers or computer users who do a little programming?

Itโ€™s the second group. There are millions of so-called end-user programmers. Theyโ€™re not going into a career as a professional programmer or computer scientist. Theyโ€™re going into business, teaching, law, or any number of professions โ€“ and they just need a little programming to be more efficient. The days of programmers being confined to software development companies are long gone.

If youโ€™ve written formulas in Excel, filtered your email based on rules, modded a game, written a script in Photoshop, used R to analyze some data, or automated a repetitive work process, youโ€™re an end-user programmer.

As educators who teach programming, we want to help students in fields other than computer science achieve their goals. But learning how to program well enough to write finished programs can be hard to accomplish in a single course because there is so much to learn about the programming language itself. Artificial intelligence can help.

Lost in the weeds

Learning the syntax of a programming language โ€“ for example, where to place colons and where indentation is required โ€“ takes a lot of time for many students. Spending time at the level of syntax is a waste for students who simply want to use coding to help solve problems rather than learn the skill of programming.

As a result, we feel our existing classes havenโ€™t served these students well. Indeed, many students end up barely able to write small functions โ€“ short, discrete pieces of code โ€“ let alone write a full program that can help make their lives better.

a teacher speaks to students in a classroom with a large screen displaying computer code

Learning a programming language can be difficult for those who are not computer science students.

LordHenriVoton/E+ via Getty Images

Tools built on large language models such as GitHub Copilot may allow us to change these outcomes. These tools have already changed how professionals program, and we believe we can use them to help future end-user programmers write software that is meaningful to them.

These AIs almost always write syntactically correct code and can often write small functions based on prompts in plain English. Because students can use these tools to handle some of the lower-level details of programming, it frees them to focus on bigger-picture questions that are at the heart of writing software programs. Numerous universities now offer programming courses that use Copilot.

At the University of California, San Diego, weโ€™ve created an introductory programming course primarily for those who are not computer science students that incorporates Copilot. In this course, students learn how to program with Copilot as their AI assistant, following the curriculum from our book. In our course, students learn high-level skills such as decomposing large tasks into smaller tasks, testing code to ensure its correctness, and reading and fixing buggy code.

Freed to solve problems

In this course, weโ€™ve been giving students large, open-ended projects and couldnโ€™t be happier with what they have created.

For example, in a project where students had to find and analyze online datasets, we had a neuroscience major create a data visualization tool that illustrated how age and other factors affected stroke risk. Or, for example, in another project, students were able to integrate their personal art into a collage, after applying filters that they had created using the programming language Python. These projects were well beyond the scope of what we could ask students to do before the advent of large language model AIs.

Given the rhetoric about how AI is ruining education by writing papers for students and doing their homework, you might be surprised to hear educators like us talking about its benefits. AI, like any other tool people have created, can be helpful in some circumstances and unhelpful in others.

In our introductory programming course with a majority of students who are not computer science majors, we see firsthand how AI can empower students in specific ways โ€“ and promises to expand the ranks of end-user programmers.

The Conversation

Leo Porter receives funding from the National Science Foundation and receives compensation for sales of the book "Learn AI-Assisted Python Programming."

Daniel Zingaro receives funding from the National Science Foundation and receives compensation for sales of the book "Learn AI-Assisted Python Programming."


Source: The Conversation

Share This

Popular

Education|Political|Sports|US

Trump administration sues Maine over participation of transgender athletes in girls sports

Trump administration sues Maine over participation of transgender athletes in girls sports
Asia|Economy|Education|Health|Science|World

Giving cash to families in poor, rural communities can help bring down child marriage rates โ€“ new research

Giving cash to families in poor, rural communities can help bring down child marriage rates โ€“ new research
Education|Environment|Science

Wide variety of old-growth ecosystems across the US makes their conservation a complex challenge

Wide variety of old-growth ecosystems across the US makes their conservation a complex challenge
Education|Political|Sports|US

US to take legal action against Maine over Trump executive order on transgender athletes

US to take legal action against Maine over Trump executive order on transgender athletes

Technology

Asia|Business|Economy|Technology

Walmart boosts tech presence in India with Chennai office deal, document shows

Walmart boosts tech presence in India with Chennai office deal, document shows
Asia|Business|Economy|Finance|Political|Stock Markets|Technology|US

US-China trade war goes full throttle

US-China trade war goes full throttle
Business|Crime|Europe|Technology|World

Damaged Finland-Estonia undersea cable expected back in operation by mid-July

Damaged Finland-Estonia undersea cable expected back in operation by mid-July
Asia|Business|Economy|Fashion and Beauty|Technology|US

Chinese factories are flooding TikTok with luxury goods. Not so fast, experts say

Chinese factories are flooding TikTok with luxury goods. Not so fast, experts say

Access this article for free.

Already have an account? Sign In