Regular Expression Puzzles and AI Coding Assistants

Regular Expression Puzzles and AI Coding Assistants
Author :
Publisher : Simon and Schuster
Total Pages : 150
Release :
ISBN-10 : 9781638351887
ISBN-13 : 1638351880
Rating : 4/5 (87 Downloads)

Book Synopsis Regular Expression Puzzles and AI Coding Assistants by : Mertz David

Download or read book Regular Expression Puzzles and AI Coding Assistants written by Mertz David and published by Simon and Schuster. This book was released on 2023-04-11 with total page 150 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn how AI-assisted coding using ChatGPT and GitHub Copilot can dramatically increase your productivity (and fun) writing regular expressions and other programs. Regular Expression Puzzles and AI Coding Assistants is the story of two competitors. On one side is David Mertz, an expert programmer and the author of the Web's most popular Regex tutorial. On the other are the AI powerhouse coding assistants, GitHub Copilot and OpenAI ChatGPT. Here's how the contest works: David invents 24 Regex problems he calls puzzles and shows you how to tackle each one. When he's done, he has Copilot and ChatGPT work the same puzzles. What they produce intrigues him. Which side is likelier to get it right? Which will write simple and elegant code? Which makes smarter use of lesser known Regex library features? Read the book to find out. David also offers AI best practices, showing how smart prompts return better results. By the end, you'll be a master at solving your own Regex puzzles, whether you use AI or not. About the technology Groundbreaking large language model research from OpenAI, Google, Amazon, and others have transformed expectations of machine-generated software. But how do these AI assistants, like ChatGPT and GitHub Copilot, measure up against regular expressions—a workhorse technology for developers used to describe, find, and manipulate patterns in text. Regular expressions are compact, complex, and subtle. Will AI assistants handle the challenge? About the book Regular Expression Puzzles and AI Coding Assistants is the perfect starting point for programmers of any experience level who want to understand the capabilities—and the limitations—of these exciting new tools. Author David Mertz presents 24 challenging regex puzzles, their traditional human-made solutions, and the fascinating answers given by popular AI assistants. Alongside these eye-opening puzzles you’ll learn how to write prompts, integrate AI-generated coding suggestions, and interact with the assistant to get the results you want. By the end of the book, you'll have a clear understanding of where AI assistants can reliably write code for you and where you’ll still need a human touch. Plus, you’ll learn a lot about regular expressions! About the reader Code examples use simple Python and Regular Expressions. No experience with AI coding tools required. About the author David Mertz is the founder of KDM Training and an acclaimed contributor to the Python community. He is also the author of The Puzzling Quirks of Regular Expressions, Cleaning Data for Effective Data Science: Doing the Other 80% of the Work, and other books. Table of Contents 1 The map and the territory 2 Quantifiers and special sub-patterns 3 Pitfalls and sand in the gears 4 Creating functions using regex 5 Easy, difficult, and impossible tasks 6 Conclusions Appendix A: Learning to use regular expressions


Regular Expression Puzzles and AI Coding Assistants Related Books

Regular Expression Puzzles and AI Coding Assistants
Language: en
Pages: 150
Authors: Mertz David
Categories: Computers
Type: BOOK - Published: 2023-04-11 - Publisher: Simon and Schuster

DOWNLOAD EBOOK

Learn how AI-assisted coding using ChatGPT and GitHub Copilot can dramatically increase your productivity (and fun) writing regular expressions and other progra
Cleaning Data for Effective Data Science
Language: en
Pages: 499
Authors: David Mertz
Categories: Mathematics
Type: BOOK - Published: 2021-03-31 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Think about your data intelligently and ask the right questions Key FeaturesMaster data cleaning techniques necessary to perform real-world data science and mac
Mastering Python Regular Expressions
Language: en
Pages: 181
Authors: Félix López
Categories: Computers
Type: BOOK - Published: 2014-02-21 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

A short and straight to the point guide that explains the implementation of Regular Expressions in Python. This book is aimed at Python developers who want to l
Text Processing in Python
Language: en
Pages: 544
Authors: David Mertz
Categories: Computers
Type: BOOK - Published: 2003 - Publisher: Addison-Wesley Professional

DOWNLOAD EBOOK

bull; Demonstrates how Python is the perfect language for text-processing functions. bull; Provides practical pointers and tips that emphasize efficient, flexib
Expert C Programming
Language: en
Pages: 379
Authors: Peter Van der Linden
Categories: Computers
Type: BOOK - Published: 1994 - Publisher: Prentice Hall Professional

DOWNLOAD EBOOK

Software -- Programming Languages.