Please ensure Javascript is enabled for purposes of website accessibility
AI Gives Nonprogrammers a Boost in Writing Computer Code
gvw_ap_news
By Associated Press
Published 1 month ago on
January 31, 2025

AI-powered tools are revolutionizing programming education, enabling non-CS students to create meaningful software. (Shutterstock)

Share

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.

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.

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.

Empowering Students with AI

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.

RELATED TOPICS:

DON'T MISS

Trump’s Budget Plan Puts David Valadao on the Medi-Cal Hot Seat

DON'T MISS

Meta to Start Testing Crowd-Sourced Fact-Checking, Based on X Example, Next Week

DON'T MISS

The One-Take Wonder of ‘Adolescence,’ a Family Drama About Knife Crime

DON'T MISS

Senate Dems Refuse to Go Along With GOP Spending Plan, as Shutdown Deadline Nears

DON'T MISS

49ers Agree to 2-Year Contract With QB Mac Jones, AP Source Says

DON'T MISS

Belgian Prosecutors Arrest Suspects in Huawei Bribery Probe Targeting EU Parliament

DON'T MISS

Trump Threatens 200% Tariff on EU Wine in Response to Proposed US Whiskey Tax

DON'T MISS

Putin Agrees in Principle With US Proposal for 30-Day Ceasefire in Ukraine

DON'T MISS

Playful Laser-Dot Chasing Bogey Is Ready to Be Your Buddy

DON'T MISS

Valley Crime Stoppers’ Most Wanted Person of the Day: Rebecca Ann Maestas

UP NEXT

Meta to Start Testing Crowd-Sourced Fact-Checking, Based on X Example, Next Week

UP NEXT

The One-Take Wonder of ‘Adolescence,’ a Family Drama About Knife Crime

UP NEXT

Senate Dems Refuse to Go Along With GOP Spending Plan, as Shutdown Deadline Nears

UP NEXT

49ers Agree to 2-Year Contract With QB Mac Jones, AP Source Says

UP NEXT

Belgian Prosecutors Arrest Suspects in Huawei Bribery Probe Targeting EU Parliament

UP NEXT

Trump Threatens 200% Tariff on EU Wine in Response to Proposed US Whiskey Tax

UP NEXT

Putin Agrees in Principle With US Proposal for 30-Day Ceasefire in Ukraine

UP NEXT

Playful Laser-Dot Chasing Bogey Is Ready to Be Your Buddy

UP NEXT

Valley Crime Stoppers’ Most Wanted Person of the Day: Rebecca Ann Maestas

UP NEXT

Clovis Police Arrest 2 Suspects for Narcotics, Fraud at House Where They Squatted

Senate Dems Refuse to Go Along With GOP Spending Plan, as Shutdown Deadline Nears

55 minutes ago

49ers Agree to 2-Year Contract With QB Mac Jones, AP Source Says

59 minutes ago

Belgian Prosecutors Arrest Suspects in Huawei Bribery Probe Targeting EU Parliament

1 hour ago

Trump Threatens 200% Tariff on EU Wine in Response to Proposed US Whiskey Tax

1 hour ago

Putin Agrees in Principle With US Proposal for 30-Day Ceasefire in Ukraine

1 hour ago

Playful Laser-Dot Chasing Bogey Is Ready to Be Your Buddy

2 hours ago

Valley Crime Stoppers’ Most Wanted Person of the Day: Rebecca Ann Maestas

2 hours ago

Clovis Police Arrest 2 Suspects for Narcotics, Fraud at House Where They Squatted

2 hours ago

Vaccinating Poultry Could Help Cut Soaring Egg Prices but US Remains Hesitant

2 hours ago

Trump Administration Withdraws Nomination of David Weldon for CDC Director

2 hours ago

Trump’s Budget Plan Puts David Valadao on the Medi-Cal Hot Seat

Rep. David Valadao (R-Kings County) finds himself in a precarious position as President Trump pushes for budget cuts that could impact Medic...

37 minutes ago

37 minutes ago

Trump’s Budget Plan Puts David Valadao on the Medi-Cal Hot Seat

44 minutes ago

Meta to Start Testing Crowd-Sourced Fact-Checking, Based on X Example, Next Week

51 minutes ago

The One-Take Wonder of ‘Adolescence,’ a Family Drama About Knife Crime

55 minutes ago

Senate Dems Refuse to Go Along With GOP Spending Plan, as Shutdown Deadline Nears

59 minutes ago

49ers Agree to 2-Year Contract With QB Mac Jones, AP Source Says

1 hour ago

Belgian Prosecutors Arrest Suspects in Huawei Bribery Probe Targeting EU Parliament

1 hour ago

Trump Threatens 200% Tariff on EU Wine in Response to Proposed US Whiskey Tax

1 hour ago

Putin Agrees in Principle With US Proposal for 30-Day Ceasefire in Ukraine

Help continue the work that gets you the news that matters most.

Search

Send this to a friend