4.29 out of 5
4.29
222 reviews on Udemy

ChatGPT 2023: Code and Debug 10X Better, Faster, Stronger

Dive into the Generative AI Revolution and produce creative software content immediately.
Instructor:
Piotr Paweska
1,541 students enrolled
English [Auto] More
*Master* ChatGPT for code generation, debugging, and topic learning.
Follow a set of exercises to expose you to ChatGPT and help you in its mastery.
Get a deep understanding of what ChatGPT can and cannot do.
Increase your development productivity and scale your approach to coding and learning.
Learn through exploring examples of generated applications in *Flutter & Dart*, *Python*, *JavaScript* and *Java*.
Explore ChatGPT through such examples as Twitter chat-bot, ChatGPT Flutter application, Flutter Weather Application and more!
In *Python* - Learn about Python, and develop a bouncing ball pygame mini-app, developer a ChatGPT twitter-bot
In *JavaScript* - Develop John Conway's Game of Life application using ChatGPT
In *Java* - Develop a desktop-based John Conway's Game of Life application using ChatGPT
In *Flutter & Dart* - use ChatGPT to develop a ChatGPT Flutter app, as well as a simple Weather App, and a Custom Painter app.

How would you like to learn to code faster? To produce better code? To learn coding topics with lightning speed?

Welcome to a ChatGPT primer for developers.

The aim of this course is to teach you quickly how to use ChatGPT to increase your productivity and improve your learning. We specifically concentrate here on the world of coding.

We tackle a few programming languages and frameworks such as Flutter and Dart, Python, Java, and JavaScript as examples of what can be done with this amazing tool.

 

You need to master this tool so that your productivity grows and the time you spend coding produces better code faster.

Don’t forget that like with any great tool if you do not use this tool, somebody else will and they will have the advantage.

 

We can use ChatGPT for a number of coding endeavours:

  1. You can ask it to write code for you
  2. You can ask it to explain code for you
    1. You can also ask for any bugs in the code and an explanation
  3. You can ask it to help you learn to code better.
  4. ChatGPT can write great snippets of code and provide great information on classic computer science problems.

We will learn also about caveats and shortcomings of the tool so that we can scale our approach to getting good code from it.

After all, you want to maximize your ability to generate good code rather than spend a lot of time debugging it.

We will use ChatGPT in the course to write a twitter chat-bot, a Flutter weather app, bouncing ball demo in pygame (python game engine) as well as John Conway’s Game of Life in Java and JavaScript.

So join me on this adventure as I introduce you to your new best friend: ChatGPT which will never tire of your questions or commands and which most of the time produces pretty good results.

 

Introduction

1
Introduction

A quick introduction to ChatGPT as a tool. What is it? How does it work? Why should we use it?

2
Iterative Process of ChatGPT

This is a quick breakdown of the best approach when working with ChatGPT.

3
What is really special about ChatGPT?

What is special about ChatGPT? What are its limitations?
We will learn a bit more here about ChatGPT before we start using it for coding.

4
What we will we cover in this course?

This will cover the topics we will cover as well as some general pointers of how we will be generating the code.

Setup and a Quick run of the ChatGPT session

1
ChatGPT account setup

In this lecture you will set up an OpenAI account which will allow you to fully use the free version of ChatGPT.

2
Getting our feet wet: Lets generate Flutter code with some Button Animation.

In this first session with ChatGPT we will ask the engine to generate Flutter code for a Pulsing Button. This will allow us to explore Flutter Animation.

In this lecture you will learn how to use ChatGPT to:

  1. Create an interaction session.

  2. Ask for specific code solution.

  3. Ask for additional explanation of the code and its usage.

  4. Ask for the engine to add in-code comments for the generated code..

We will then take the generated code and see how good it is by running it and learning about a few fixes that we need to do.

3
[EXERCISE] Competitive Coding : ChatGPT Exercises to generate code.

Lets do some exercises with ChatGPT:


  1. What is competitive coding and how to use ChatGPT to explore some quick code snippets.

  2. Lets ask ChatGPT about some basic algorithms

  3. Lets use it to ask about top coding review questions.

Adventures in Flutter: Using ChatGPT to generate Flutter and some Python Code

1
Flutter Lists, Cards and Collapsible Items

Lets start with a simple progression of developing a list-based page in Flutter using ChatGPT.

We will progressively build a simple application:

  1. First we will ask to create lists

  2. Then we will expand it to Cards

  3. Then we will ask for collapsible cards.

We will then run the code and fix it if needed.

2
Generating a simple Weather App in Flutter

We will generate code for a simple Weather application in Flutter using ChatGPT.


  1. We will learn how to make remote API calls

  2. We will learn how to get an API key for the weather data

  3. We will learn how to get our device's location to get weather in the location where we are.

3
Creating a ChatGPT application in Flutter

This will set you on a path to create your own ChatGPT Flutter application:


  1. It will allow you type your questions in a Flutter App

  2. have ChatGPT remotely answer your questions.

4
[EXERCISE] Flutter ChatGPT Practice Session #1

In these exercises you will practice using ChatGPT with Flutter and Dart.

These exercises range from easy to more complex. We will tackle the following:

  1. Page Navigation and Data Passing between pages

  2. FAB Button with animated collapsible children.

  3. Using WebSockets

  4. Finishing the Flutter ChatGPT Application we started in the lectures.

5
Creating a Twitter Bot and Improving our Flutter ChatGPT Application

We will do a mixed session here:


  1. We will ask for Twitter Bot logic and code (which will be in Python)

  2. We will finish up our chatGPT Application in Flutter.

This will teach us how to mix some concepts in a single sessions even across different coding languages.

6
Generating a Custom Painting Application in Flutter

In this 'adventure' we will ask ChatGPT to help us write a custom Painting application in Flutter. Basically an application that allows the user to paint with lines on the screen using just their finger.


7
[EXERCISE] Flutter ChatGPT Practice Session #2

In these exercises you will practice some more using ChatGPT with Flutter and Dart.

These exercises range from easy to more complex. We will tackle the following:

  1. Camera Application

  2. Improved Painter Application

  3. Unit Tests in Flutter

Adventures In Python: Using ChatGPT with to work with Python concepts and code

1
Practical Python: a ChatGPT Introduction

Quick introduction to Python: ChatGPT style:


  1. Learn about Python environment and simple code.

  2. Get a "Hello World" code for Python

  3. Create a very simple test-based game in Python.

  4. Look at two different ways of generating a Factorial function

  5. Introduce pygame for simple Python game coding.

2
Bouncing Ball -A simple Gaming Demo for Python

Here we ask ChatGPT to create a flexible UI for bouncing ball simulation.

We will ask for a simple code and then ask for a UI modification which will allow for the user to control the speed of the ball.
You will also see how ChatGPT is not always able to fix buggy code even if it is its own code.

3
[EXERCISE] Python ChatGPT Practice Session

In these exercises you will practice some more using ChatGPT with Python

These exercises range from easy to more complex. We will tackle the following:

  1. Fix up the main Bouncing Ball issue that ChatGPT was unable to solve

  2. Delve into some creative coding

    1. Solar System Simulation

    2. 2D Fractal Simulations

Reverse Engineering and Improving Existing Code **NEW**

1
Reverse Engineering Existing Code

In this lecture we will take some existing code and ask chatGPT to tell us what the code is about. We will then take this code and create a plan and organize our prompts to improve it through a number of steps.

The mystery code is a web-crawler which we will improve over the course of this section.

This is a Python based code but this lesson and prompts will apply to any language.

NOTE: the starting source code as well as the improved error handling version have been attached to this lesson.

2
Fixing and Improving the Existing Code

We will use a number of prompts to fix issues with the original code to make sure that the code at least is behaving properly and has some reasonable error handling.

This will be in preparation for a more ambitious lecture in which we will optimize the code and then create a test harness for stress testing the code.

NOTE: all the sources generated and used in this lecture have been attached to this lesson.

3
Optimizing Our Code And Creating a Test-Harness To Test Our Optimizations

In this lecture we will ask chatGPT to help us optimize the existing code and we will ask it to create a simple stress-test harness to compare different versions of our optimized code.

NOTE: all the sources generated and used in this lecture have been attached to this lesson.

4
Making the Web-Crawler Traverse The Whole Web-Site Page Tree

In this last lecture, we will further add functionality to out web-crawler code.
The last code iteration would only download images from the target page (i.e. from a single page).

In this lecture we will improve the functionality to allow our web-crawler to navigate the whole site and traverse the full page tree both recursively and iteratively.

NOTE: All the sources generated in this lecture are available as an attachment with this lecture.

5
[EXERCISE] Site-Mapping Tool ChatGPT Practice Session

In this exercise you will come up with prompts to create a sit-verification and mapping tool.

This can be done in Python or any other language. Explore the possibilities!

Adventures in JavaScript: Using ChatGPT with to work with JavaScript code.

1
Intruduction to Game Of Life Simulation

In this lecture we will explore the famous simulation game: John Conway's Game of Life.

We will ask ChatGPT to explain it to us and then provide us with some pseudo-code for the implementation.

2
Generating the Game Of Life simulation code implementation in JavaScript

In this lecture we will actually get an implementation of Game of Life in JavaScript.

First we will do a general code request and then end up with a visualization in an HTML page.

3
[EXERCISE] JavaScript ChatGPT Practice Session

In these exercises you will practice some more using ChatGPT with JavaScript

These exercises range from easy to more complex. We will tackle the following:

  1. Delve into some creative coding

    1. Solar System Simulation

    2. 2D Fractal Simulations

    3. Bird Flocking Simulations

  2. Get Ambitious! Try to create Breakout Game in JavaScript.

Adventures in Java: Using ChatGPT with to work with Java code.

1
Generating a simple version of the Game of Life simulation in Java

Here we will use ChatGPT to generate the code for Game of Life in Java. This version will have pretty basic visualization which we will improve in the next lecture.

2
Creating a more complex version of the visualization of Game of Life in Java

Here we will use ChatGPT to generate the more visualized ode for Game of Life in Java. This version will use Swing and AWT to create a grid made of buttons.

3
[EXERCISE] Java ChatGPT Practice Session

In these exercise you will practice some more using ChatGPT with Java

We will go a bit ambitious here: we will ask you to recreate with ChatGPT's help, the famous Windows OS Game: Minesweeper.

Advanced Topics: Using chatGPT beyond simple prompts **NEW**

1
Doc-Based Code Generation

In this lecture we will build a searchable news-reader application to deliver latest news headlines from around the world. We will use external API documentation to achieve this.

Final Thoughts

1
My Final Thoughts on ChatGPT and this course content

A summary and some final thoughts on ChatGPT and code generation that we have learned in this course.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.3
4.3 out of 5
222 Ratings

Detailed Rating

Stars 5
107
Stars 4
82
Stars 3
27
Stars 2
5
Stars 1
2
75fafba909dd02925e725d4fcb5c5aee
Get course
30-Day Money-Back Guarantee

Includes

3 hours on-demand video
Full lifetime access
Access on mobile and TV
Certificate of Completion