The Real Python Podcast

Considering ChatGPT's Technical Review of a Programming Book


Listen Later

What can you learn from feeding an entire book on Python programming into ChatGPT-4 and asking it to provide a technical review? What are the potential pitfalls of using an LLM as a learning tool? This week on the show, author Al Sweigart talks about his recent experiments using ChatGPT and Python.

Al wanted to test how well an LLM could understand the computer science concepts covered in his recent book, The Recursive Book of Recursion. We talk about the positive and negative results of this technical review. We consider if this would be a valuable tool for technical review of your projects.

Al shares his thoughts on using ChatGPT as a learning tool and its potential pitfalls. We also cover the current strengths of this type of tool for Python developers.

Course Spotlight: Python Basics Exercises: Conditional Logic and Control Flow

In this Python Basics Exercises course, you’ll review how to use conditional logic to write programs that perform different actions based on different conditions. Paired with functions and loops, conditional logic allows you to write complex programs that can handle many different situations.

Topics:

  • 00:00:00 – Introduction
  • 00:01:51 – Reasons for experimenting
  • 00:04:24 – Using ChatGPT to review his recursion book
  • 00:10:45 – Why do this review?
  • 00:11:34 – The trouble of confabulation
  • 00:18:45 – Meaning of artificial intelligence over time
  • 00:28:21 – Video Course Spotlight
  • 00:29:54 – Detailed prompts and asking for specifics
  • 00:36:44 – Potential pitfalls for learning
  • 00:49:48 – Checking for flaws in generated code
  • 00:54:58 – How can it be useful?
  • 01:01:33 – Touching briefly on ethics
  • 01:02:35 – What are you excited about in the world of Python?
  • 01:05:21 – What do you want to learn next?
  • 01:07:36 – Python Programming Exercises, Gently Explained
  • 01:09:20 – How can people follow your work online?
  • 01:09:49 – Thanks and goodbye
  • Show Links:

    • Al Sweigart’s Website
    • Using ChatGPT-4 to Review My Recursion Programming Book - The Invent with Python Blog
    • Prompt Engineering: A Practical Example – Real Python
    • ChatGPT: Your Personal Python Coding Mentor – Real Python
    • GitHub Copilot: Fly With Python at the Speed of Thought – Real Python
    • ChatGPT: US lawyer admits using AI for case research - BBC News
    • If a hammer was like AI…
    • The Elements of AI Ethics
    • Al Sweigart: An Overview of the Python Code Tool Landscape 2023 - YouTube
    • Python Programming Exercises, Gently Explained
    • Invent with Python
    • Ruff, an extremely fast Python linter - Astral
    • Rust Programming Language
    • Command Line Applications in Rust
    • Level up your Python skills with our expert-led courses:

      • Python Basics: Strings and String Methods
      • Python Basics Exercises: Conditional Logic and Control Flow
      • Python Basics: Conditional Logic and Control Flow
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        134 ratings


        More shows like The Real Python Podcast

        View all
        Hanselminutes with Scott Hanselman by Scott Hanselman

        Hanselminutes with Scott Hanselman

        377 Listeners

        Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

        Software Engineering Radio - the podcast for professional software developers

        265 Listeners

        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        287 Listeners

        LINUX Unplugged by Jupiter Broadcasting

        LINUX Unplugged

        262 Listeners

        Thoughtworks Technology Podcast by Thoughtworks

        Thoughtworks Technology Podcast

        41 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        584 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        628 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        294 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Data Engineering Podcast by Tobias Macey

        Data Engineering Podcast

        140 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        988 Listeners

        CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

        CoRecursive: Coding Stories

        186 Listeners

        DataFramed by DataCamp

        DataFramed

        269 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        190 Listeners

        The Stack Overflow Podcast by The Stack Overflow Podcast

        The Stack Overflow Podcast

        63 Listeners