VOOZH about

URL: https://thenewstack.io/how-ai-can-help-you-learn-the-art-of-programming/

⇱ How AI Can Help You Learn the Art of Programming - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2025-06-20 09:00:37
How AI Can Help You Learn the Art of Programming
AI / C++ / Software Development

How AI Can Help You Learn the Art of Programming

Warp Terminal's built-in AI can generate code, explain every line and guide you through compilation — turning the terminal into your personal coding tutor.
Jun 20th, 2025 9:00am by Jack Wallen
👁 Featued image for: How AI Can Help You Learn the Art of Programming
Featured image via Unsplash.

Have you already started your programming journey? Or maybe you’ve just recently started it, and you’re finding learning your first programming language (or a new one) to be a bit more challenging than you thought.

You’ve read books, studied online tutorials and even sought out assistance from others, but nothing seems to be sticking.

What if there was another way? What if there were a way that could not only help you to understand the concepts, but even show you specific examples of what you’re trying to do?

That way is AI.

I know, I know … you’re probably shaking your head at the thought of using AI to write code because that feels like cheating. But what if it wasn’t? What if, instead of using it to just do the work for you, you used it as a tool to help get you up to speed on what might otherwise be a daunting task?

I’ve written about AI quite a bit and have some pretty strong feelings about it. I strongly believe that AI shouldn’t be used for the purpose of creating, but when AI is used for research or as a learning tool, I’m all for it.

I’ve tested a few different AI solutions for these purposes, and when it comes to learning about coding, one has stood out above the rest, and that is the AI found in Warp Terminal.

Why Warp Terminal?

First off, Warp is a terminal app, so it already has an advantage because it was developed for those who use a terminal application for just about anything. And with a built-in AI that can also help you learn Linux commands (because it allows you to type in human-readable language and then turn that language into a command), it already has a leg up on other AI solutions.

Another thing about Warp Terminal is that it’s not just about writing the code you request. With Warp Terminal, you can query the AI to create a program and have it save the code to a file. Then it will show you how (if necessary) to compile and run the program.

It really is that good and easy.

Let me demonstrate with a simple Hello, World app written in C++.

How To Use Warp Terminal To Write Your First Piece of Code

After you’ve installed Warp Terminal (available for Linux and Windows), open the app from your desktop menu, and you should see a fairly straightforward prompt. But what happens when you type the following:

All of a sudden, things change, and Warp goes to work. It will eventually present you with the code for the app (Figure 1).

👁 Image

Figure 1. A basic C++ app, created by Warp Terminal.

You should also see a row of options for Cancel (Ctrl+C), Refine (R), Edit (E) and Apply Changes (Enter). If you hit Enter, Warp will use the code it created and create a file for it (aptly named, hello_world.cpp). When that finishes, it will then present you with the compile command (g++ hello_world.cpp) and run command (./hello_world).

If you look in the current working directory, you’ll see all the files required to compile and run the code, and all you had to do was tell Warp to create it.

But what happens if you don’t understand how the code works? Warp’s AI can help you with that as well.

Let’s take a look at the Hello, World file Warp created, which looks like this:

What if you’re new to C++ and have no idea what the above means? Let’s ask Warp’s AI. For example:

The response looks like this:

It continues on with the description, but you get the idea.

You could then go line by line, asking what each bit of code does, so you have a better understanding of how the C++ Hello, World app works.

You could also go a more challenging route.

This time, I asked Warp to create a graphical user interface (GUI) app in C++ for Warp Terminal. Almost immediately, Warp discovered that I didn’t have the necessary GUI toolkit installed and, instead, opted to go a different route: – X11 (as opposed to the gtk4 libraries). Warp then presented the necessary code. I hit Enter to apply the changes (which had to be done several times as Warp found and solved some issues), and then Warp presented me with the next steps, which involved the installation of libgtk-3-dev and then the compile and run commands.

It worked.

I could also open the file Warp created for the app and ask it to explain what each line does, so I can start to better understand how C++ works.

This can be done for nearly any programming language, such as Python, JavaScript, Java, Go … you name it.

Although the idea of letting AI do the work for you doesn’t sit right with me, for getting up to speed with a language so that I can do the work correctly, I’m all for it. AI is a very valuable tool that can be used for good, and, as far as I’m concerned, letting it help you learn the art of programming falls under that category.

TRENDING STORIES
Jack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides...
Read more from Jack Wallen
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.