Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 21.4 ('ChatGPT')
Instant purchase and download via GumRoad!

FEATURE

Can ChatGPT Write Xojo Code?

Testing Out AI Code-Generation

Issue: 21.4 (July/August 2023)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 19,856
Starting Page Number: 21
Article Number: 21403
Resource File(s):

Download Icon project21403.zip Updated: 2023-07-03 09:54:47

Related Link(s): None

Excerpt of article text...

I was skeptical on the idea that ChatGPT could write code, so I decided to test it.

The first thing I learned is that you can't expect ChatGPT to generate a Xojo project file and the whole program finished. It isn't going to do all your work for you—you'll have to connect the parts, create the UI, debug, and polish, so there's a fair amount left to do. You'll definitely need to be proficient in coding to use it.

It also can make errors that are difficult to find, especially if you don't understand the code.

But AI can definitely help with certain ideas, give you example code that you can refine, or finish little parts you find challenging or tedious. It could be a great way to get a project started, to create prototypes more quickly, or to solve tricky aspects of your program.

Finally, note that talking to ChatGPT—the "prompt" you generate—is a skill in itself. The better your question, the better your answer. I haven't had enough experience with it to know what I'm doing, so it's quite possible one could get better results than I did if you know what you're doing.

, so expect to have to do a fair amount on your own.

...End of Excerpt. Please purchase the magazine to read the full article.